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

user20201 326 Reputation points

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?


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,435 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Navtej Singh Saini 4,221 Reputation points Microsoft Employee

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

    Navtej S