mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-13 05:47:23 +00:00
Update example.ps1
This commit is contained in:
parent
90a9d65203
commit
ae90129d2f
@ -1,8 +1,6 @@
|
|||||||
$tenantId = '{Your Tenant ID}'
|
$authUrl = 'Your Authorization URL'
|
||||||
$clientId = '{Your Client ID}'
|
$clientId = 'Your Client ID'
|
||||||
$clientSecret = '{Your Client Secret}'
|
$clientSecret = 'Your Client Secret'
|
||||||
|
|
||||||
$authUrl = "https://login.windows.net/{0}/oauth2/token" -f $tenantId
|
|
||||||
|
|
||||||
$tokenPayload = @{
|
$tokenPayload = @{
|
||||||
"resource"='https://graph.windows.net'
|
"resource"='https://graph.windows.net'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user