question

tobias2021 avatar image
0 Votes"
tobias2021 asked ·

How to register my SQL Managed Instance in Azure AD using Powershell script?

Hi All-

I would like to register my SQL Managed Instance into Azure AD. From my application, I'd like to add roles to the SQL Managed Instance and I am wondering if this is possible using Powershell script. Can you suggest a way or process on how to this?

Thanks!

windows-server-powershellazure-sql-database
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@naorikuni
Thank you for your post!

I wasn't able to find any PowerShell scripts to register a SQL Managed Instance in Azure AD. However, I've added the "azure-sql-database" tag to this thread and have reached out to their team to see if they can take a look into this issue as well.

Links:
Tutorial: Security in Azure SQL Managed Instance using Azure AD server principals (logins)
Configure and manage Azure AD authentication with Azure SQL


Thank you for your time and patience throughout this issue.

0 Votes 0 ·

1 Answer

NavtejSaini-MSFT avatar image
0 Votes"
NavtejSaini-MSFT answered ·

@monina2021 - My colleague has already shared the document for this but let us know if you need any further help regarding this.

Regards
Navtej S


· 2 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@JamesTran-MSFT @NavtejSaini-MSFT


Yup! I think the document you sent will do. Thanks for your help!

0 Votes 0 ·

@monina2021 Thank you for confirming that we were able to help you.

Regards
Navtej S

0 Votes 0 ·