Forum Discussion
Newbie question about Set-CalendarProcessing
I am trying to run the following command to change my Teams Room Display Panel to show the Meeting Subject, not the organizer name.
I have Microsoft 365 with Exchange online, not on premise.
Set-CalendarProcessing -Identity email address removed for privacy reasons -DeleteSubject $False -AddOrganizerToSubject $False
But I get this error ...
Set-CalendarProcessing : The term 'Set-CalendarProcessing' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\administrator.YRSD\Documents\scripts\Teams-Panel-Display.ps1:3 char:1
+ Set-CalendarProcessing -Identity email address removed for privacy reasons -D ...
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Set-CalendarProcessing:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
I have tried importing the following modules ...
Import-Module ExchangeOnlineManagement
Import-Module MSOnline
But I still get the same error.
I am trying to run this Powershell session on a local machine with admin privilege's.
What do I need to do to get this command to run?
2 Replies
- Did you connect to Exchange Online first? Try the Connect-ExchangeOnline cmdlet.
And, you need to have permissions to run said cmdlet, at minimum you need the "Mail Recipients" role in Exchange. Ask your admin/IT folks to run the cmdlet instead, in case you don't have permissions.- Patrick_BiggsCopper ContributorThanks Vasil,
I was missing the Connect-ExchangeOnline step.