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
Write-Warning'Using a confidential client is non-interactive and requires that the necessary scopes/permissions be added to the application or have permissions on-behalf-of a user.'
@@ -110,6 +101,7 @@ function Confirm-ModuleAuthentication {
110
101
if (!$script:ConnectState.MsGraphToken-or ($script:ConnectState.MsGraphToken.AccessToken-ne$MsGraphToken.AccessToken)) {
111
102
if ($MsGraphToken) {
112
103
$AuthDetail= [ordered]@{
104
+
ClientId=$ClientApplication.ClientId
113
105
TokenType=$MsGraphToken.TokenType
114
106
ExpiresOn=$MsGraphToken.ExpiresOn
115
107
CorrelationId=$MsGraphToken.CorrelationId
@@ -120,20 +112,20 @@ function Confirm-ModuleAuthentication {
0 commit comments