File tree Expand file tree Collapse file tree
Entrypoints/Activity Triggers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ function Push-CIPPDBCacheData {
116116 if ($ConditionalAccessCapable ) {
117117 $ConditionalAccessCacheFunctions = @ (
118118 ' ConditionalAccessPolicies'
119- ' AuthenticationFlowsPolicy'
119+ # 'AuthenticationFlowsPolicy'
120120 ' CredentialUserRegistrationDetails'
121121 ' UserRegistrationDetails'
122122 )
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ function New-GraphPOSTRequest {
2727 $Headers = $Headers
2828 } else {
2929 $Headers = Get-GraphToken - tenantid $tenantid - scope $scope - AsApp $asapp - SkipCache $skipTokenCache
30+ $body = Get-CIPPTextReplacement - TenantFilter $tenantid - Text $body - EscapeForJson
3031 }
3132 if ($AddedHeaders ) {
3233 foreach ($header in $AddedHeaders.GetEnumerator ()) {
@@ -41,8 +42,6 @@ function New-GraphPOSTRequest {
4142 if (! $contentType ) {
4243 $contentType = ' application/json; charset=utf-8'
4344 }
44- # Only do text replacement if no headers are set.
45- if (! $headers ) { $body = Get-CIPPTextReplacement - TenantFilter $tenantid - Text $body - EscapeForJson }
4645
4746 $RetryCount = 0
4847 $RequestSuccessful = $false
You can’t perform that action at this time.
0 commit comments