Skip to content

Commit 5169622

Browse files
authored
Merge pull request #106395 from johndowns/patch-11
Add information about managed identities
2 parents a5a17f2 + 88839be commit 5169622

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

articles/analysis-services/analysis-services-addservprinc-admins.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,24 @@ The following Resource Manager template deploys an Analysis Services server with
9393
}
9494
```
9595

96+
## Using managed identities
97+
98+
A managed identity can also be added to the Analysis Services Admins list. For example, you might have a [Logic App with a system-assigned managed identity](../logic-apps/create-managed-service-identity.md), and want to grant it the ability to administer your Analysis Services server.
99+
100+
In most parts of the Azure portal and APIs, managed identities are identified using their service principal object ID. However, Analysis Services requires that they be identified using their client ID. To obtain the client ID for a service principal, you can use the Azure CLI:
101+
102+
```bash
103+
az ad sp show --id <ManagedIdentityServicePrincipalObjectId> --query appId -o tsv
104+
```
105+
106+
Alternatively you can use PowerShell:
107+
108+
```powershell
109+
(Get-AzureADServicePrincipal -ObjectId <ManagedIdentityServicePrincipalObjectId>).AppId
110+
```
111+
112+
You can then use this client ID in conjunction with the tenant ID to add the managed identity to the Analysis Services Admins list, as described above.
113+
96114
## Related information
97115

98116
* [Download SQL Server PowerShell Module](https://docs.microsoft.com/sql/ssms/download-sql-server-ps-module)

0 commit comments

Comments
 (0)