We have setup a Hybrid Exchange 2016 CU19 server.
We are trying to get Graph to work with it to pull settings from mailboxes.
This does not work.
What we have checked so far:
The app is setup correctly in azure, the api can pull from exchange online mailboxes.
The hybrid setup is working correctly, when running:
Test-OAuthConnectivity -Service autod -TargetUri https://outlook.office365.com/autodiscover/autodiscover.xml -Mailbox test@Company portal .com -Verbose | Format-List
we get a answer of success, same when running from O365 to Onprem.
The request hits the IIS of the Exchange server and gets answer 200, which is success.
So there is connectivity, but the api is giving the following error:
If trying to use Beta we get the following error:
"message": "The mailbox is either inactive, soft-deleted, or is hosted on-premise."
The request we use is: https://graph.microsoft.com/v1.0/users/user[@](/users/na/?userId=a28c79c1-c609-48db-b55f-1783d1187afb).com/mailboxSettings
We are kind of stuck here, after talking with MS i was told to post here.