Migration Office365

Clear2all Professional Blog new

Add Calendar Permissions in Office 365 via Powershell using Add-MailboxFolderPermission

Add Calendar Permissions in Office 365 via Powershell using Add-MailboxFolderPermission

Step by Step Guide for setting calendar permissions in Office 365:

First step would be launch Powershell as Administrator.

Second would be to open a new PS Session on powershell to Exchange Online/Office 365 using below commands.

$GetCred = Get-Credential


$PSSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $GetCred -Authentication Basic -AllowRedirection


Import-PSSession $PSSession

Now the last step is to configure the permissions for the user2 permissions on user1 calendar using below Powershell:

Add-MailboxFolderPermission -Identity [email protected]:\calendar -user [email protected] -AccessRights Editor

These are the available permissions

Read the rest
Clear2all Professional Blog new

Checking Exchange GUID while migrating mailbox Exchange to Office365

Checking Exchange GUID while migrating mailbox Exchange to Office365

Below commands can be really helpful while exchange 2010 to office 365 migration.

Below command to import the csv file with names and email addresses of users to be checked.

$CSV = Import-CSV C:\Temp\spotcheck.csv

Below command to display names, email addresses,GUID etc of users to be checked.

$CSV | foreach { get-mailuser -identity $_.mail | fl DisplayName, WindowsEmailAddress, PrimarySmtpAddress, RecipientType, ExternalEmailAddress, ExchangeGuid}

Below command to display names, email addresses,GUID etc of users to be checked exported to a csv file

$CSV | foreach { get-mailuser -identity Read the rest