Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

ExchangeService.GetRoomLists(): "Mailbox '<guid>' doesn't have a valid license." #279

Open
Vineet-Yadav opened this issue Feb 4, 2022 · 0 comments

Comments

@Vineet-Yadav
Copy link

We validate the user on Azure AD and found this have valid license (Office 365 E5 Developer). We are using OAuth grant flow.
While fetching data from Exchange using Exchange service, ExchangeService.GetRoomLists() is returning error as "Mailbox '' doesn't have a valid license."

Detail message:
Error Message:An internal server error occurred. The operation failed., Mailbox '' doesn't have a valid license.
Stack Trace: at Microsoft.Exchange.WebServices.Data.ServiceResponse.InternalThrowIfNecessary()
at Microsoft.Exchange.WebServices.Data.GetRoomListsRequest.Execute()
at Microsoft.Exchange.WebServices.Data.ExchangeService.GetRoomLists()

Here ExchangeService is Microsoft.Exchange.WebServices.Data.ExchangeService.

Please suggest the missing part?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant