Microsoft365リソース会議室
![](http://saitomo.tokyo/wp-content/uploads/2022/01/men-カスタム.png)
役員だけが予約できる会議室作って
5人の役員の為に?めんどくさ。
でも仕事なのでやりますよ。
新しくリソースから会議室を作り、役員グループを割り当てるミッション。
Powershellを管理者として実行し、exchangeへ接続
$UserCredential = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection Import-PSSession $Session
この後、管理者IDでログイン
特定のグループにしか予約させない呪文
Set-CalendarProcessing -Identity 【会議室のメアド】 -AutomateProcessing AutoAccept -AllBookInPolicy $False -BookInPolicy 【予約できるグループのメアド】
設定できているのか確認する呪文
この会議室を予約できるのはだあれ?
Get-CalendarProcessing 【会議室のメアド】 | select -ExpandProperty BookInPolicy | Get-Recipient | select DisplayName,PrimarySmtpAddress
![](http://saitomo.tokyo/wp-content/uploads/2022/02/kaigi1.png)
無事設定された様子
Outlookで見るとこんな感じ
ヒラには枠しかみえん。
強引に予約してみる
はい、取れません。
![](http://saitomo.tokyo/wp-content/uploads/2022/02/kaigi3.png)
アクセス許可がありません
めでたしめでたし。
コメント