UnknownError
This message shows up in 2 different situations. Pick the one that matches yours:
- The Purview Audit Query API is asynchronous — think in hours, not secondsHour-long queries; attach to the last succeeded, create in backgroundCause and fix →
- Reading Teams channel messages needs a Teams license — a Global Admin without one gets 403 even as a team memberDelegated GET /teams/{id}/channels/{id}/messages returns 403 'Failed to get license information for the user' for an unlicensed account even with ChannelMessage.Read.All consented and team membership; a licensed member gets 403 UnknownError on a private channel it is not in; allChannels still lists channels of teams the admin is not a member ofCause and fix →