Update... If i activate Global Admin... Command is working. So it is Exchange Cloud issue
Get-ExoMailbox Error while querying REST service. HttpStatusCode=404
Hi,
If i run »today« command Get-exoMailbox I get error that mailbox is not…
Get-exoMailbox : Error while querying REST service. HttpStatusCode=404 ErrorMessage={"error":{"code":"NotFound","message":"Error executing request. ","details":[{"code":"Context","target":"","message":"Ex6F9304|Microsoft.Exchange.Configuration.Tasks.ManagementObjectNotFoundException|The operation couldn't be performed because object
'user@keyman .com' couldn't be found on 'DB6P195A001DC02.EURP195A001.PROD.OUTLOOK.COM'."}],"innererror":{"message":"Error executing request. ","type":"Microsoft.Exchange.Admin.OData.Core.ODataServiceException"}}}}
I have try :
Get-EXOMailbox
Get-EXOMailbox -Identity
Get-EXOMailbox -UserPrincipalName
I have also try : Get-EXOMailbox -Identity user@keyman .com -Archive.
With following error :
Get-EXOMailbox : Error while querying REST service. HttpStatusCode=500 ErrorMessage={"error":{"code":"InternalServerError","message":"Error executing request. The \"Archive\" parameter can't be used on the \"Get-Mailbox\" cmdlet because it isn't present in the role definition for the current user. Check the management roles assigned to you, and
try again.","details":[{"code":"18","target":"","message":"ExB880D8|Microsoft.Exchange.Configuration.Authorization.CmdletAccessDeniedException|The \"Archive\" parameter can't be used on the \"Get-Mailbox\" cmdlet because it isn't present in the role definition for the current user. Check the management roles assigned to you, and try
again."}],"innererror":{"message":"Error executing request. The \"Archive\" parameter can't be used on the \"Get-Mailbox\" cmdlet because it isn't present in the role definition for the current user. Check the management roles assigned to you, and try again.","type":"Microsoft.Exchange.Admin.OData.Core.ODataServiceException"}}}}
No issue if I try Get-Mailbox -Identity user@keyman .com -Archive.
If I use same command and use my upn, I get working response. If I use old command get-mailbox, result is returned for any user...
If I use Get-EXOMailboxFolderStatistics everything is working as expected.
It work ok “till now” today I’m faced with this issue.
Thankyou