SOLVED

Problems editing meeting policy with PowerShell

Iron Contributor

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

 

2 Replies
best response confirmed by Stefan Kießig (Iron Contributor)
Solution
Hi, remove the ” from identity, see xxxx below.

Set-CsTeamsMeetingPolicy -Identity xxxx -RecordingStorageMode "OneDriveForBusiness"

@ChristianBergstrom 

 

Thank you. This was the problem.

1 best response

Accepted Solutions
best response confirmed by Stefan Kießig (Iron Contributor)
Solution
Hi, remove the ” from identity, see xxxx below.

Set-CsTeamsMeetingPolicy -Identity xxxx -RecordingStorageMode "OneDriveForBusiness"

View solution in original post