Skip to content
Merged
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
5 changes: 5 additions & 0 deletions cmd/list-users.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,10 @@ func isGraphAuthorizationDenied(err error) bool {
return true
}

// The tenant does not have the necessary P2 license that grants access to auditlog.read.all.
if strings.Contains(msg, "Authentication_RequestFromNonPremiumTenantOrB2CTenant") && strings.Contains(msgLower, "doesn't have premium license") {
return true
}

return false
}
Loading