Update GraphRunner.ps1

Thanks https://github.com/LambdaArrow for the suggested fix.
This commit is contained in:
Steve Borosh
2023-11-20 08:23:02 -05:00
committed by GitHub
parent 3d22124d9b
commit 7fd1cf20da
+1 -1
View File
@@ -415,7 +415,7 @@ function Invoke-RefreshGraphTokens {
$authUrl = "https://login.microsoftonline.com/$tenantid"
$refreshbody = @{
"resource" = "https://graph.microsoft.com/"
"client_id" = "d3590ed6-52b3-4102-aeff-aad2292ab01c"
"client_id" = $ClientID
"grant_type" = "refresh_token"
"refresh_token" = $RefreshToken
"scope" = "openid"