Enabling Authentication in ManagementStudio
Active Directory Authentication (On-Premise)
Allow Client Login
- ManagementStudio automatically authenticates users with the domain of the service account.
- No additional configuration is required for client login.
Create Accounts / Synchronise Roles
To synchronise user accounts and roles with Active Directory or Azure AD:
- Create an Azure AD Connector, or use an existing one.
- Navigate to
Administration → Role Groups. - In the
Az Groupfield, enter the name(s) of the Azure Group(s) to read users from:- For Azure AD connectors, optionally prefix the group as
[Azure Conn Name]\[Azure Group Name]. - Separate multiple group names with
;. - Optionally, enable
AD User Sourceto create accounts in ManagementStudio based on the group members.
- For Azure AD connectors, optionally prefix the group as
Allow Portal Login
Add the Server Role
- Ensure the following Windows role is installed:
Web Server (IIS) → Web Server → Security → Windows Authentication
Configure Authentication in IIS
Set authentication settings on the ManagementStudio website in IIS:
Anonymous Authentication: EnabledWindows Authentication: Enabled- All other authentication methods: Disabled

Update appsettings.json
Refer to the Update appsettings.json section for required configuration.
Azure Authentication
Azure Application Registration
- Create an Azure Application Registration (or use an existing registration).
- Add API Permissions:
- Use Application permissions for Client Secret or Certificate.
- Use Delegated permissions for username and password.
- Required permissions:
GroupMember.Read.AllUser.ReadBasic.All
- In the App Registration's Authentication section:
- Add a platform and select Web.
- Add a redirect URI:
https://[ManagementStudioUrl]/signin-oidc(must be HTTPS). - Replace
localhostwith your actual ManagementStudio URL.
- Add a platform for Mobile and desktop applications, checking:
https://login.microsoftonline.com/common/oauth2/nativeclient
- Tick the
ID tokens (used for implicit and hybrid flows)option.
- Configure either a Client Secret or Certificate for authentication.
- Save the Azure App configuration.
ManagementStudio Allow Azure Client Login
- Navigate to
Administration → Global Settings. - Enter the
Tenant IDandClient IDof the Azure Application Registration. - Enter either a Client Secret or Certificate from the Application Registration.
Create Accounts / Synchronise Roles
Used to sync ManagementStudio accounts from Azure groups. Not required for portal access.
- Navigate to
Administration → Role Groups. - Enter Azure Group name in the
Az Groupfield.- Optionally prefix as
[Azure Conn Name]\[Azure Group Name]. - Separate multiple group names with
;. - Optionally enable
AD User Sourceto create accounts from AD/Azure group members.
- Optionally prefix as
Allow Portal Login
- Navigate to
Administration → Global Settings. - Enter the
Tenant IDandClient IDof the Azure App Registration. - In Azure App Registration, under Authentication:
- Add a platform, select Web.
- Save configuration.
Update appsettings.json
Refer to the Update appsettings.json section for configuration steps.
Update appsettings.json
The appsettings.json file is located in the website directory on the ManagementStudio IIS server. Update the relevant section as detailed below. After editing, ensure you restart the IIS service for changes to take effect.

For On-Prem Active Directory Authentication Only
"PortalAuth": {
"WindowsAuth": {
"Enabled": true,
"Comment": "WindowsAuth requires Windows Authentication to be enabled in IIS, without this MS will not launch!"
}
}
For Azure Authentication Only
"PortalAuth": {
"AzureAuth": {
"Enabled": true
}
}
For Both On-Prem Active Directory and Azure Authentication
"PortalAuth": {
"WindowsAuth": {
"Enabled": true,
"Comment": "WindowsAuth requires Windows Authentication to be enabled in IIS, without this MS will not launch!"
},
"AzureAuth": {
"Enabled": true
}
}
Troubleshooting
Error: "This page isn't working at the moment" when attempting to view a Portal Form.
- Verify that the Mobile and Desktop Applications section is correctly configured in the Azure Application Registration's Authentication settings.
Further Support
For additional support, visit the ManagementStudio Service Desk to search the knowledge base or to raise a support ticket.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article