diff --git a/GraphRunner.ps1 b/GraphRunner.ps1 index c62f13f..7a16a8d 100644 --- a/GraphRunner.ps1 +++ b/GraphRunner.ps1 @@ -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"