Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Managed Identities for Managed Instances #744

Closed
Kinetic-311 opened this issue May 1, 2023 · 2 comments
Closed

Managed Identities for Managed Instances #744

Kinetic-311 opened this issue May 1, 2023 · 2 comments

Comments

@Kinetic-311
Copy link

Azure is pushing the Managed Identities for access to Storage Containers/Blobs now. Your product automatically appends a required credential, rightfully assuming a SAS token.

The new Managed Identities method, the MI is added without SQL Server knowledge. A credential is still created but while performing the backup a @credential is not needed, simply the URL.

Could you add this feature through a Parameter or other detection method?

It seems, on any managed instance version it forces the @credential to match the URL name, but in this case does not find a SAS method and the Azure MI rejects the backup. When Managed Identities is setup via Code or the Portal a @credential is not required and in this case fails.

Background Information:
https://techcommunity.microsoft.com/t5/azure-sql-blog/how-to-take-secure-on-demand-backups-on-sql-managed-instance/ba-p/3638369

@mdaniou
Copy link

mdaniou commented May 3, 2023

Hi,

I ended in your issue and thought I would create a quick change
#745

@olahallengren
Copy link
Owner

I have added a fix for this.
https://ola.hallengren.com/versions.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants