
57
6.7 Appendix: Configuration using powerShell for Microsoft 365 (M365)
On a MS-Windows computer, launch
powershell
with administrator rights.
☛
SSL is requested by the
powerShell
client. If the SSL error is raised, unencrypted traffic is disabled in the client configuration. A temporary
solution is to disable SSL for this
powershell
session. In this case: type the following command lines.
cd WSMAN:\localhost\Client
set-item .\allowunencrypted $true
set-item .\trustedhosts IPAddressofyourpowershellclientcomputer
Execute Powershell commands for Microsoft 365 (M365)
On a MS-Windows computer, open
powershell
command with administrator rights and execute these commands:
Set-executionpolicy unrestricted
$LiveCred = Get-Credential
Enter your
Microsoft 365
administrator login credentials then type:
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri ../..
https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
Import-PSSession –Verbose $Session
PowerShell scripts for Azure Active Directory
Some Innes
PowerShell
scripts function allow to create or delete
Azure Active Directory
application and get the appropriate:
application (client) ID value,
client secret value,
tenant ID value.
Room creation and configuration
Create a new room resource/mailbox:
New-Mailbox -Name "Room ABC" -Room
Define basic processing for this mailbox: Auto acceptance for new meeting requests
Set-CalendarProcessing -Identity "Room ABC" -AutomateProcessing AutoAccept
-AddOrganizerToSubject $false -DeleteSubject $false
-ScheduleOnlyDuringWorkHours $true
Modify the working hours for this calendar (room calendar):
Set-MailboxCalendarConfiguration "Room ABC" -WorkingHoursStartTime 08:00:00
-WorkingHoursEndTime 19:00:00 -Workdays Weekdays -WeekStartDay Monday
-WorkingHoursTimeZone "Central Europe Standard Time"
Grant access So that the delegate account can access the resources/mailboxes:
Add-MailboxPermission -Identity [email protected] -User "Innes-Delegate" ../..
-AccessRights FullAccess -InheritanceType All –automapping $true
Description: If description displaying is required, ensure that the description are not deleted for the meetings in the resource mailboxes. To not
remove attachments from the meetings for a given room:
Set-CalendarProcessing "Room 1" -DeleteComments $False
Содержание 1.11.11 002A
Страница 1: ...User manual SBL10e m365_room 1 11 11 002A...
Страница 4: ...4 Part I Description and installation...
Страница 6: ...6 1 1 1 Device dimensions...
Страница 13: ...13 Part II Applicative user interface...
Страница 16: ...16 Part III Administration console user interface...
Страница 32: ...32 Part IV Technical information...
Страница 35: ...35 Part V Contacts...
Страница 37: ...37 Part VI Appendix...
Страница 52: ...52...
Страница 56: ...56 Click on the Grant admin consent for your_organization button Now the permissions are granted...