Failed to get license information for the user
This message shows up in 2 different situations. Pick the one that matches yours:
- A mail-permission probe that can't tell "no mailbox" from "no consent" lies to admins/me/messages 404 MailboxNotEnabled* on mailbox-less accounts ≠ missing consent; three verdicts, and never cache a negative probe resultCause 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 →