Azure ManagementStudio App Config

Modified on Wed, 14 Oct at 7:11 AM

App Registration for Azure Connectors

Introduction

To enable ManagementStudio connectors to access data within Azure, an App registration must be created in Azure Active Directory. The App registration defines the permissions and access rights granted to ManagementStudio. It is recommended, though not required, to create a separate App registration for each connector used.


Creating an Azure App Registration

  1. Open the Azure portal.
  2. Navigate to App registrations.
  3. Select New registration.
    • Enter a name, such as ManagementStudio AAD Connector.
    • Choose Accounts in this organization only.
    • Leave the Redirect URI blank.

  1. Click Register.

Authentication and Permissions

The required configuration varies depending on the authentication method selected: User/Password or Client Secret.

Auth: User/Pass

  1. Authentication
    • Enable Enable the following mobile and desktop flows by setting it to Yes.
    • Save the settings.
  2. API Permissions
    • Add permissions as Delegated permissions.
    • Refer to the lists in the Permissions section.
    • Grant admin consent for the added permissions.

Auth: Client Secret

  1. Certificates & Secrets
    • In the left navigation, select Certificates & secrets.
    • Click New client secret.
    • Provide a name (e.g., ManagementStudio Secret).
    • Set Expires to 24 months (for ENGAGE assessments, set to 1 week).

    • Click Add.
    • Important: Record the secret Value immediately. The value is displayed once and cannot be retrieved again.
    • API Permissions
      • Select API permissions in the left navigation.
      • Add permissions as Application permissions.
      • Refer to the lists in the Permissions section.
    • Click Add permissions.
    • Grant admin consent for the added permissions.
    • Collect Required Information
      • Go to Overview.
      • Copy the Application (Client) ID.
      • Copy the Directory (tenant) ID.
      • Use the secret Value saved earlier.



Permissions

Azure AD Connector

Required Microsoft Graph Permissions

SectionPermissionNote
DirectoryDirectory.Read.All
UserUser.Read.All
DeviceDevice.Read.All
AuditLogAuditLog.Read.AllOptional: Required to retrieve users' last login time
GroupMemberGroupMember.Read.All
GroupMemberGroupMember.ReadWrite.AllOptional: Allows ManagementStudio to add/remove items from Azure Groups (not required for ENGAGE assessments)

Intune Connector

Required Microsoft Graph Permissions

SectionPermissionNote
DeviceManagementAppsDeviceManagementApps.Read.AllRead Microsoft Intune apps
DeviceManagementManagedDevicesDeviceManagementManagedDevices.Read.AllRead Microsoft Intune devices
DirectoryDirectory.Read.AllRead AD directory data

SMTP Email Send / Receive

Note: Only delegate access is supported for these permissions.

Required Microsoft Graph Permissions

SectionPermissionNote
OpenId permissionsemail
OpenId permissionsoffline_access
POPPOP.AccessAsUser.All
SMTPSMTP.Send

Azure Email API

Required Azure Email API Permission

SectionPermissionTypeNote
MailMail.SendApplicationAllows ManagementStudio to send emails as another account (e.g., a project mailbox)

Single Sign-On

Required Microsoft Graph Permission

SectionPermissionNote
UserUser.Read

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article