3.3.4. 会議室予約権限の付与設定
3.3.4.1. BookinPolicyを用いる場合
=手順=
- 予約者を制限しているかどうかを確認します。
PowerShellで以下のコマンドを実行します。
Get-CalendarProcessing -Identity 会議室アカウント | Select AllBookInPolicy | fl
注釈
「AllBookInPolicy:true」だった場合、すべてのユーザー / グループに対して予約の権限が付与され、予約者を制限していません。その場合、次以降の作業は不要です。
- 「AllBookInPolicy : false」だった場合は予約可能なユーザーやグループを確認します。
- PowerShellで以下のコマンドを実行します。表示されたユーザーやグループは記録しておきます。
Get-CalendarProcessing -Identity 会議室アカウント | Select -ExpandProperty BookInPolicy | Get-Recipient | Select DisplayName,PrimarySmtpAddress
注釈
SmartRooms用アカウントが含まれている場合は、手順3は不要です。
- 手順2で表示されたユーザーやグループにSmartRooms用アカウントを追加して、予約権限を付与します。
- PowerShellで以下のコマンドを実行します。
Set-CalendarProcessing -Identity 会議室アカウント -BookInPolicy 表示されたユーザーをカンマ区切りで指定, SmartRooms用アカウント
注釈
会議室への予約権限を誤ったユーザーに付与してしまった場合は、正しい予約権限を付与し直して上書きしてください。
=例=
- 会議室「meetingroom01@example.com」に対して予約者を制限しているかどうかを確認します。
PowerShellで以下のコマンドを実行します。
Get-CalendarProcessing -Identity meetingroom01@example.com | Select AllBookInPolicy | fl
- 「AllBookInPolicy : false」だった場合は予約可能なユーザーやグループを確認します。
- PowerShellで以下のコマンドを実行します。表示されたユーザーやグループは記録しておきます。
Get-CalendarProcessing -Identity meetingroom01@example.com | Select -ExpandProperty BookInPolicy | Get-Recipient | select DisplayName,PrimarySmtpAddress
- 手順2で表示されたユーザーやグループにSmartRooms用アカウント「smartrooms@example.com」を追加して、予約権限を付与します。
- 前の手順でユーザー user1@example.com が表示された場合は、PowerShellで以下のコマンドを実行します。
Set-CalendarProcessing -Identity meetingroom01@example.com -BookInPolicy user1@example.com, smartrooms@example.com
3.3.4.2. AcceptMessagesOnlyFromSendersOrMenbersを用いる場合
=手順=
- 予約者を制限しているかどうかを確認します。
- 会議室(会議室アカウント)への予約の権限が付与されているユーザー / グループを確認します。PowerShellで以下のコマンドを実行します。
Get-Mailbox -Identity 会議室アカウント | Select -ExpandProperty AcceptMessagesOnlyFromSendersOrMembers | Get-Recipient | Select DisplayName,PrimarySmtpAddress
注釈
ユーザー / グループ共に表示されない場合は、すべてのユーザー / グループに対して予約の権限が付与され、予約者を制限していません。その場合、次以降の作業は不要です。
会議室(会議室アカウント)への予約権限を付与します。
前の手順でユーザーが表示された場合は、PowerShellで以下のコマンドを実行します。
Set-Mailbox -Identity 会議室アカウント -AcceptMessagesOnlyFrom 表示されたユーザーをカンマ区切りで指定, SmartRooms用アカウント
グループのみ表示された場合は、PowerShellで以下のコマンドを実行します。
Set-Mailbox -Identity 会議室アカウント -AcceptMessagesOnlyFrom SmartRooms用アカウント
注釈
誤ったユーザーに登録してしまった場合は「補足:ユーザーへの会議室予約権限の削除方法」を参照してください。
=例=
- 予約者を制限しているかどうかを確認します。
- 会議室 meetingroom01@example.com に対して予約可能なユーザー/グループが制限されているか確認します。PowerShellで以下のコマンドを実行します。
Get-Mailbox -Identity meetingroom01@example.com | Select -ExpandProperty AcceptMessagesOnlyFromSendersOrMembers | Get-Recipient | Select DisplayName,PrimarySmtpAddress
ユーザーもしくはグループが表示された場合は、SmartRooms用ユーザー「smartrooms@example.com」から予約が可能になるよう設定します。
前の手順でユーザー user1@example.com が表示された場合は、PowerShellで以下のコマンドを実行します。
Set-Mailbox -Identity meetingroom01@example.com -AcceptMessagesOnlyFrom user1@example.com, smartrooms@example.com
前の手順でグループのみ表示された場合は、PowerShellで以下のコマンドを実行します。
Set-Mailbox -Identity meetingroom01@example.com -AcceptMessagesOnlyFrom
補足:ユーザーへの会議室予約権限の削除方法
会議室への予約権限を誤ったユーザーに登録してしまった場合は、以下の手順で削除します。
=手順=
ユーザーに対して、会議室への予約権限を削除します。
PowerShellで以下のコマンドを実行します。
Set-Mailbox -Identity 会議室アカウント -AcceptMessagesOnlyFrom @{Remove="権限を削除したいユーザーアカウント"}
=例=
ユーザー「user2@example.com」に誤って会議室「meetingroom01@example.com」の予約権限を付与してしまったため、権限を削除します。
PowerShellで以下のコマンドを実行します。
Set-Mailbox -Identity meetingroom01@example.com -AcceptMessagesOnlyFrom @{Remove="user2@example.com"}