Skip to content

Commit d8b3d0c

Browse files
committed
Replace unicode character with dash.
1 parent f902ca3 commit d8b3d0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MS Graph/_LIB_/MGLibrary.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function ConnectMSGraph(){
7171
client_secret = $SecretValue
7272
grant_type = "client_credentials"
7373
}
74-
$tokenRequest = Invoke-WebRequest Method Post Uri $uri ContentType "application/x-www-form-urlencoded" Body $body UseBasicParsing
74+
$tokenRequest = Invoke-WebRequest -Method Post -Uri $uri -ContentType "application/x-www-form-urlencoded" -Body $body -UseBasicParsing
7575
[string]$mgToken =($tokenRequest.Content | ConvertFrom-Json).access_token
7676
if($v1.IsPresent -eq $false){
7777
[securestring]$secToken = ConvertTo-SecureString -String $mgToken -AsPlainText -Force

0 commit comments

Comments
 (0)