- Application.ReadWrite.All
- RoleManagement.ReadWrite.Directory
Edges
AZMGAddSecret
This edge is created during post-processing.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
This edge is created during post-processing.
$MGToken = Get-MSGraphTokenWithClientCredentials `
-ClientID "34c7f844-b6d7-47f3-b1b8-720e0ecba49c" `
-ClientSecret "asdf..." `
-TenantName "contoso.onmicrosoft.com"
New-EntraAppSecret `
-AppRegObjectID "d878..." `
-Token $MGToken.access_token
New-EntraAppSecret `
-AppRegObjectID "d878..." `
-Token $MGToken.access_token
Name Value
---- -----
AppRegSecretValue odg8Q~...
AppRegAppId 4d31...
AppRegObjectId d878...
$SPToken = Get-MSGraphToken `
-ClientID "4d31..." `
-ClientSecret "odg8Q~..." `
-TenantName "contoso.onmicrosoft.com"