There was an error while loading. Please reload this page.
1 parent f902ca3 commit d8b3d0cCopy full SHA for d8b3d0c
1 file changed
MS Graph/_LIB_/MGLibrary.ps1
@@ -71,7 +71,7 @@ function ConnectMSGraph(){
71
client_secret = $SecretValue
72
grant_type = "client_credentials"
73
}
74
- $tokenRequest = Invoke-WebRequest –Method Post –Uri $uri –ContentType "application/x-www-form-urlencoded" –Body $body –UseBasicParsing
+ $tokenRequest = Invoke-WebRequest -Method Post -Uri $uri -ContentType "application/x-www-form-urlencoded" -Body $body -UseBasicParsing
75
[string]$mgToken =($tokenRequest.Content | ConvertFrom-Json).access_token
76
if($v1.IsPresent -eq $false){
77
[securestring]$secToken = ConvertTo-SecureString -String $mgToken -AsPlainText -Force
0 commit comments