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
log.Info("warning: authorization denied when requesting signInActivity for users (missing AuditLog.Read.All API permission); retrying without signInActivity")
117
+
includeSignInActivity=false
118
+
params=makeParams(false)
119
+
count, err=streamOnce(params)
120
+
}
121
+
iferr!=nil {
122
+
log.Error(err, "unable to continue processing users")
123
+
return
101
124
}
102
125
log.Info("finished listing all users", "count", count)
t.Error("expected channel to close from an error result but it did not")
69
69
}
70
70
}
71
+
72
+
funcTestIsGraphAuthorizationDenied(t*testing.T) {
73
+
err:=fmt.Errorf("map[error:map[code:Authentication_MSGraphPermissionMissing innerError:map[client-request-id:fac52490-ea06-48f1-941e-5f5bba8e35fc date:2026-01-28T15:29:16 request-id:fac52490-ea06-48f1-941e-5f5bba8e35fc] message:The principal does not have required Microsoft Graph permission(s): AuditLog.Read.All to call this API. For more information about Microsoft Graph permissions, please visit https://learn.microsoft.com/graph/permissions-overview.]]")
0 commit comments