Migrate Mailbox Permissions to Office 365

Mailbox permissions are typically translated to Office 365 during properly batched hybrid MRS moves, however there are several scenarios (e.g. third-party migration tools) where permissions must be audited on-premises and re-applied after migration.

 
 
 
 
 
5 Star
(7)
4,527 times
Add to favorites
Office 365
2/12/2017
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • UserList.csv
    2 Posts | Last post November 26, 2019
    • What is the format of the UserList.csv?
    • Sorry, read older comments and it is pretty easy to understand
  • O365 version for cmdlet Get-ADPermission
    1 Posts | Last post April 25, 2019
    • Hi Roman, very nice job!!! 
      thank you.
      
      just note: 
      
      for O365  Get-ADPermission is not recognized.
      I just bulk replaced it with Get-RecipientPermission and the script give no error anymore.
      I didn't change anything except replacing Get-ADPermission with Get-RecipientPermission without touching parameters or other things.
      
      Now no errors, but I am not sure if actually works or not
  • O365
    2 Posts | Last post April 25, 2019
    • Hi Roman,
      
      Is there a version of this script that will Export O365 permissions?
    • Hi, 
      i noticed that for O365  Get-ADPermission is not recognized.
      I just bulk replaced it with Get-RecipientPermission and the script give no error anymore.
      I didn't change anything except replacing Get-ADPermission with Get-RecipientPermission without touching parameters or other things.
      
      Now no errors, but I am not sure if actually works or not
  • Filter "Department"
    1 Posts | Last post October 30, 2018
    • Dear Roman,
      how can I change your script, to filter based on Departments. Our AD Objects all have the Department value.
      Thank you
  • Commas in Data ("Last, First" DisplayName)
    2 Posts | Last post April 27, 2018
    • For those of you having trouble with the export script due to DisplayNames that use commas (Last, First)...I have a solution.
      
      In the export script, change the commas in lines 57, 65 and 73 to something like the following:
      
      "$MailboxName%$MailboxEmail%$DelegateName%$DelegateEmail%$DelegateAccess"
      
      And in lines 105-108 like so:
      
      "MailboxName%MailboxEmail%DelegateName%DelegateEmail%DelegateAccess"
      
      In the import script, add "-Delimiter %" (no quotes) between the file name and the pipe. For example:
      
      Import-Csv ".\MailboxAccess.csv" =-Delimiter % | ForEach { 
      
      This will allow PowerShell to treat the MailboxName and DelegateName values correctly instead of breaking them up.
      
      
    • And in Line 186
  • About Exchange Version
    2 Posts | Last post April 27, 2018
  • Export and Import Distribution group or Security group individually
    1 Posts | Last post April 27, 2018
    • The script is great but it Does not work to export the group
      I do not want to expand any groups, instead I wish to export the group by its name and then import it back into the permissions.
      
      Can someone advise asap please
  • Shared mailbox permission
    1 Posts | Last post April 09, 2018
    • Great script. Can you please also add Shared mailbox permission report in this script 
  • Query against an OU vs entire Forest
    1 Posts | Last post March 14, 2018
    • Hi,
      
      Is there a way to run this against a particular OU?  As some have pointed out it can be extremely time consuming running against the whole environment.  I have a large environment and it would be ideal if the script could run against a particular OU vs entire forest.  
      
      Thanks!
  • Multi-threading
    1 Posts | Last post July 05, 2017
    • How hard do you think it would be to add multi-threading to this. It seems to take a really long time to run through all the mailboxes.
1 - 10 of 11 Items