Forum Discussion

StefanKi's avatar
StefanKi
Iron Contributor
Dec 06, 2020
Solved

Problems editing meeting policy with PowerShell

I am trying to edit a meeting policy with PowerShell. But I keep getting an error.

 

get-CsTeamsMeetingPolicy - identity "Tag:Stefan"

Identity : Tag:Stefan
...

 

Set-CsTeamsMeetingPolicy - Identity "Tag:Stefan" -RecordingStorageMode "OneDriveForBusiness"

or

Set-CsTeamsMeetingPolicy - Identity "Stefan" -RecordingStorageMode "OneDriveForBusiness"

 

Result

 

"TeamsMeetingPilicy" "Tag:Stefan" cannot be found because it is not present. 
Parameter name: Identity

 

  • Hi, remove the ” from identity, see xxxx below.

    Set-CsTeamsMeetingPolicy -Identity xxxx -RecordingStorageMode "OneDriveForBusiness"

2 Replies