If you are still in the dark about how to add calendar permissions in Office 365 via Powershell, this post will give you a helping hand. Surely, after knowing about our proposed instructions and tips, you will get used to properly adding, viewing, and removing Office 365 calendar permissions.
In addition, you can also learn to specify a name for calendar permits, attach them to each security folder or make an allowance for a particular mailbox. Please pay careful attention to our Trustguide team’s post in order not to miss any important information.
Add Calendar Permissions In Office 365 Via Powershell
Below is a detailed guide for you to follow:
- Step 1: Open your device, including a computer, PC or laptop, etc.
- Step 2: Activate your computer’s “Windows Powershell” section by double-clicking the icon.
- Step 3: You should notice whether the module called “Exchange Networking Powershell” is downloaded and stored in the computer’s memory or not. Run this command to check:
Get-Installed.Module ExchangeOnline_Management
- Step 4: If you cannot find the module or it is missing, you can download it from the online AD memory gallery. Check this script to perform:
Install-Module Powershell_Get
https://theitbros.com/wp-content/uploads/2021/03/word-image-38.png
- Step 5: Finally, you use the following code with a view to creating a connection towards the “Exchange Online” section.
Connect-ExchangeOnline -UserPrincipal.Name [email protected] -ShowProgress_$true
https://theitbros.com/wp-content/uploads/2021/03/word-image-39.png
Access The On-premises Exchange Windows Server By Using PowerShell
Outlined below is a straightforward rundown:
- Step 1: Follow this command to save credentials or data of the “Exchange admin” into the Active Directory memory:
$Live.Cred = Get-Credential
- Step 2: Use the Exchange Server’s code to create a Powershell folder variable:
$Session = New-PSSession -Configuration/Name Microsoft.Exchange -Connection_Uri HTTPS://<your-target-exchange-server-address>/power.shell/ -Credential $LiveCred
- Step 3: This step requires you to import command from an Exchange administrator into your remote Windows computer:
Import-PSSession $Session
Important notes:
- It is advisable for you to run the HTTP protocol to keep the process running smoothly or connect to the targeted CAS Exchange system.
$Session = New-PSSession -Configuration.Name Microsoft.Exchange -Connection_Uri http://ny-msg-02/powershell/ -Credential $LiveCred -Authentication Kerberos
- If you use the Import-PSSession code, you can meet a problem that a file is properly uploaded, or it can be delayed over a while. To fix this, you only need to run the execution script:
Set-ExecutionPolicy RemoteSigned
https://theitbros.com/wp-content/uploads/2021/03/word-image.jpeg
https://theitbros.com/wp-content/uploads/2021/03/word-image-40-768×94.png
How To Gain Mailbox Calendar Permits Via The PowerShell Tool?
- If you desire to view your calendar permissions at the exact time, you can rely on the cmdlet below:
Get-Mailbox.Folder_Permission [email protected]:\calendar
https://theitbros.com/wp-content/uploads/2021/03/word-image-41.png
- Another way to view and keep the calendar permissions up-to-date is to change your username’ account by following this command:
Get-Mailbox.Folder_Permission username: Agenda
- You can also translate the calendar name’s language into your mother tongue by using this code:
Get-Mailbox/Folder.Statistics username -FolderScope Calendar).Identity
https://theitbros.com/wp-content/uploads/2021/03/word-image-42.png
- Examine the current one by performing this underlying script:
Get-Mailbox.Folder_Permission brett.jackson:\calendar
- After completing the procedure as mentioned above, you can see the “AvailabilityOnly” message displayed on the calendar section:
https://theitbros.com/wp-content/uploads/2021/03/word-image-1.jpeg
- If you want to sum up or compile all of your calendar permissions in Office 365, you can follow this command:
Get-Mailbox | For.Each-Object {Get-Mailbox.Folder_Permission $_”:\calendar”} | Where {$_.User -like “Default”} | Select Identity, User, AccessRights
- Under a circumstance that you want to change the mailbox name. More specifically, all of the calendar permissions stored in your tenant are granted a particular name at first. You can change them and also grasp a collection of folder users by following the below script:
Get-Mailbox | ForEach-Object {Get-MailboxFolderPermission $_”:\calendar”} | Where {$_.User -like “*Name*”} | Select Identity, User, AccessRights
The Bottom Line
Hopefully, this article has equipped you with important guidelines and information about how to add calendar permissions in Office 365 via Powershell.
Before knuckling down to this process, it is strongly recommended that you gain deeper insights into the technological field and grasp more technical know-how and expertise, including shortened symbols or specialized codes.
As a first-time user, you can be initially overwhelmed by a load of information. However, keep practicing daily, and you will eventually reach the best outcome!
If you still have trouble adding these Office 365 calendar permissions, you can contact our portal or leave your questions in the comment section. We will support you fervently.
Leave a Reply