CalendarFeedsPreferredLanguage Exchange online

Contributor

I'm trying to set the CalendarFeedsPreferredLanguage parameter on a room mailbox.

using the set-mailboxcalendarconfiguration cmdlet. as described in :

https://docs.microsoft.com/en-us/powershell/module/exchange/client-access/set-mailboxcalendarconfigu...

 

I'm using remote PSsession to exchange online.

 

but the cmdlet doesn't recognize the parameter.

 

how can I solve this?

3 Replies

Seems to work fine for me. Do you have the necessary permissions to run it, you need to be a member of the "Mail Recipients" role. You can check whether the parameter is available for your tenant via:

 

Get-ManagementRole -Cmdlet Set-MailboxCalendarConfiguration -CmdletParameters CalendarFeedsPreferredLanguage

 

If no results are returned from the above, the issue is something on the tenant level.

Command returns

Name RoleType

---- --------

Mail Recipients MailRecipients

User Options UserOptions

MyBaseOptions MyBaseOptions

 

so that seems ok?

 

I assumed I have enough permissions as a global administrator, but maybe that's not enough, I'll look into it thanks.

Yup, looks OK, and as Global admin you should have the Mail Recipients role assigned. Unless you have played with the RBAC controls in your tenant.