You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$SPID= (New-GraphPostRequest-uri 'https://graph.microsoft.com/v1.0/servicePrincipals'-tenantid $TenantFilter-type POST -body $SPBody ).id
55
+
$SPID= (New-GraphPostRequest-uri 'https://graph.microsoft.com/v1.0/servicePrincipals'-tenantid $TenantFilter-type POST -body $SPBody-AsApp $true).id
56
56
}
57
57
58
58
@@ -104,16 +104,16 @@ Function Invoke-ExecSendPush {
104
104
105
105
if ($obj.BeginTwoWayAuthenticationResponse.result) {
106
106
$Body="Received an MFA confirmation: $($obj.BeginTwoWayAuthenticationResponse.result.value|Out-String)"
107
-
$colour='success'
107
+
$State='success'
108
108
}
109
109
if ($obj.BeginTwoWayAuthenticationResponse.AuthenticationResult-ne$true) {
110
110
$Body="Authentication Failed! Does the user have Push/Phone call MFA configured? ErrorCode: $($obj.BeginTwoWayAuthenticationResponse.result.value|Out-String)"
0 commit comments