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

user20201 326 Reputation points
2021-03-01T04:08:28.627+00:00

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!

Azure SQL Database
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,390 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Navtej Singh Saini 4,221 Reputation points Microsoft Employee
    2021-03-09T02:16:13.313+00:00

    @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