Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotfix: correct UseBasicParsing $true #3

Merged
merged 1 commit into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion create.correlateUpdateMailboxFolderPermission.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ try {
resource = "https://outlook.office365.com"
}

$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing $true
$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing:$true
$accessToken = $Response.access_token

# Connect to Exchange Online in an unattended scripting scenario using an access token.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ try {
resource = "https://outlook.office365.com"
}

$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing $true
$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing:$true
$accessToken = $Response.access_token

# Connect to Exchange Online in an unattended scripting scenario using an access token.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ try {
resource = "https://outlook.office365.com"
}

$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing $true
$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing:$true
$accessToken = $Response.access_token

# Connect to Exchange Online in an unattended scripting scenario using an access token.
Expand Down
2 changes: 1 addition & 1 deletion create.correlateUser.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ try {
resource = "https://outlook.office365.com"
}

$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing $true
$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing:$true
$accessToken = $Response.access_token

# Connect to Exchange Online in an unattended scripting scenario using an access token.
Expand Down
2 changes: 1 addition & 1 deletion delete.UpdateMailboxAutoReplyConfiguration.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ try {
resource = "https://outlook.office365.com"
}

$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing $true
$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing:$true
$accessToken = $Response.access_token

# Connect to Exchange Online in an unattended scripting scenario using an access token.
Expand Down
2 changes: 1 addition & 1 deletion dynamicPermission.Groups.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ try {
resource = "https://outlook.office365.com"
}

$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing $true
$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing:$true
$accessToken = $Response.access_token

# Connect to Exchange Online in an unattended scripting scenario using an access token.
Expand Down
2 changes: 1 addition & 1 deletion dynamicPermission.SharedMailboxes.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ try {
resource = "https://outlook.office365.com"
}

$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded"
$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing:$true
$accessToken = $Response.access_token

# Connect to Exchange Online in an unattended scripting scenario using an access token.
Expand Down
2 changes: 1 addition & 1 deletion grant.groups.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ try {
resource = "https://outlook.office365.com"
}

$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing $true
$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing:$true
$accessToken = $Response.access_token

# Connect to Exchange Online in an unattended scripting scenario using an access token.
Expand Down
2 changes: 1 addition & 1 deletion grant.sharedmailboxes.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ try {
resource = "https://outlook.office365.com"
}

$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing $true
$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing:$true
$accessToken = $Response.access_token

# Connect to Exchange Online in an unattended scripting scenario using an access token.
Expand Down
2 changes: 1 addition & 1 deletion permissions.groups.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ try {
resource = "https://outlook.office365.com"
}

$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded"
$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing:$true
$accessToken = $Response.access_token

# Connect to Exchange Online in an unattended scripting scenario using an access token.
Expand Down
2 changes: 1 addition & 1 deletion permissions.sharedmailboxes.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ try {
resource = "https://outlook.office365.com"
}

$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing $true
$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing:$true
$accessToken = $Response.access_token

# Connect to Exchange Online in an unattended scripting scenario using an access token.
Expand Down
2 changes: 1 addition & 1 deletion revoke.groups.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ try {
resource = "https://outlook.office365.com"
}

$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing $true
$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing:$true
$accessToken = $Response.access_token

# Connect to Exchange Online in an unattended scripting scenario using an access token.
Expand Down
2 changes: 1 addition & 1 deletion revoke.sharedmailboxes.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ try {
resource = "https://outlook.office365.com"
}

$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing $true
$Response = Invoke-RestMethod -Method POST -Uri $authUri -Body $body -ContentType "application/x-www-form-urlencoded" -UseBasicParsing:$true
$accessToken = $Response.access_token

# Connect to Exchange Online in an unattended scripting scenario using an access token.
Expand Down