Reputation: 77
I'm creating a script that will update a user's Exchange Mailbox CustomAttribute1 via PowerShell. I connected to our O365 server and ran it. The documentation specifically says this attribute exists however it's not being recognized:
And this is very strange because on the documentation the parameter is clearly there:
Any idea why this is happening? We use a 100% cloud environment meaning I'm connected to an Exchange Online shell.
Upvotes: 0
Views: 2472
Reputation: 77
Thank you @Robin! The parameter existed but the account I connected to Exchange Online didn't have enough permissions. After logging in with another account that has Global Admin it worked like a charm.
Upvotes: 1