Azure-RMSDocs
Azure-RMSDocs copied to clipboard
How to get
[Enter feedback here]
Can we explain how to get "authority", "resource" and "clientId"? Thanks
auth.py -u -p -a -r -c <clientId>
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 3c74c069-3608-12d1-8988-461524e2de55
- Version Independent ID: f18cd6ad-c0e2-fca1-9bef-c4edf7c8533c
- Content: Concepts - Using Python to acquire an access token.
- Content Source: mip/develop/concept-authentication-acquire-token-py.md
- Service: information-protection
- GitHub Login: @msmbaldwin
- Microsoft Alias: mbaldwin
@Jianbin-IBM, this is received from the azure portal for the application registration made for the clientid. It is listed "Application (client) ID" in the Azure portal.
More information is here: https://learn.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-protocols#app-registration