r/PowerShell 13d ago

Question Getting Error Object couldn't be found

I am getting error

|The operation couldn't be performed because object 'GUID Copied from O365 Azure'

couldn't be found on 'CH5PR01A08DC004.NAMPR01A008.PROD.OUTLOOK.COM'.

I am running this in exchange management shell connected to online.

I copied the Guid directly from O365 how could it possibly not be found?

We are attempting to delete a disabled users calendars.

EDIT: I was able to determine the issue, when we disabled the user we removed the license which deleted the mailbox. When I reapplied the license it all worked fine. Thanks for the help everyone, it helped me look closer and realize it wasn't pointing at Azure obviously but Outlook. Answer was in my face the entire time.

2 Upvotes

10 comments sorted by

View all comments

1

u/Hexalon00 13d ago

1

u/nanaki989 13d ago

I run it, without any other parameters, it asks for days then I supply it, then it gives the error ||The operation couldn't be performed because object 'GUID FROM AZURE'

couldn't be found on '*.*.PROD.OUTLOOK.COM'.