Add Mailbox Import Export Role in Office 365 using PowerShell

February 6th, 2021

Install-Module -Name ExchangeOnlineManagement
Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline

Enable-OrganizationCustomization

New-ManagementRoleAssignment –Role “Mailbox Import Export” –User “user name”

Get-ManagementRoleAssignment –Role “Mailbox Import Export” | FL RoleAssigneeName, Name

Disconnect-ExchangeOnline

Imported IMAP folders are not visible or don’t show any content

January 29th, 2021

 Automated fix with a script

VBS Script buttonThe script below will fix the incorrect folder class property for you so that it will become a regular mail folder again just like all the others.

After running the script, you’ll immediately see all your emails again, have Follow Up flag support and all other aforementioned issues will be gone. You don’t even need to restart Outlook!

The script allows you to fix a single folder, a folder and its subfolders or your entire mailbox at once. It will automatically recognize folders that don’t need any fixing and won’t make any changes to these either.

  1. Download the file; fiximportedimapfolders.zip
  2. Open or extract the zip-file, and double click on; FixImportedIMAPFolders.vbs
  3. Click on Outlook in the Taskbar to see the “Select Folder” dialog.

    Select Folder Dialog

  4. Select the folder that you would like to fix and press OK.
    • If you’d like to fix all subfolders that need fixing as well, select the parent folder.
    • If you’d like to fix all folders within your entire mailbox that need fixing, simply select the mailbox name.
  5. You’ll now get a prompt whether you want to include the subfolders as well. If you don’t see this prompt, click on the script icon in your Taskbar.

    WScript icon on the Taskbar
    Click on the WScript icon in the Taskbar…

    Prompt - Do you want to include the subfolder?
    …and select your fixing preference.

  6. After the script is done, you’ll get a notification with how many folders have been fixed.

    Reset Migrated IMAP Folder - Done!

The contents of all the fixed folders should now be visible again and you should no longer have any IMAP view or any of the other aforementioned issues.

If you had the folder still selected in Outlook, select a different folder and then go back to the fixed folder so that Outlook can refresh the view and you can see that it is fixed.

Domain Controller starts up in Safe Mode

November 30th, 2020

Bare metal restore domain controller windows 2016 there are currently no logon servers

Solution

Login with the Directory services restore mode account (typically .\administrator) and open a command prompt and run the following:
bcdedit /deletevalue safeboot
shutdown -t 01 -r
Afterwards it should reboot in normal mode.

How to clear your Microsoft Teams cache on Windows 10

November 17th, 2020

1. Quit Microsoft Teams.
2. Cut and paste the following location into File Explorer: 

%appdata%\Microsoft\Teams


3. Delete contents of the entire folder.
4. Restart Microsoft Teams.

TreeSize Free Portable

September 12th, 2020

TreeSizeFree-Portable

Microsoft® Update-katalog

September 12th, 2020

https://www.catalog.update.microsoft.com/home.aspx

New-MailboxExportRequest -ContentFilter

August 30th, 2020

Year: 2018

New-MailboxExportRequest -ContentFilter “”(Received -lt ’01/01/2019′) -and (Received -gt ’01/01/2018′)”” -Mailbox “1234@1234.com” -FilePath “\\server\Pst$\1234@1234.com.pst” -AcceptLargeDataLoss:$true -BadItemLimit “9999”

How to Setup Inbox Rules for Shared Mailbox on Office 365

August 28th, 2020
  1. Open a browser and visit this page
    https://outlook.office365.com/ecp/shared-mailbox-address/
    Replace shared-mailbox-address with your shared mailbox address.
  2. Click on organize email on the left side.
  3. Click on inbox rules on the top.
  4. Click on the plus sign to add a new rule.

Outlook 2019 – AutoDiscover

June 19th, 2020

Exclude initial check to Office 365 Autodiscover URL

Set-ItemProperty -Path “HKCU:\Software\Microsoft\Office\16.0\Outlook\AutoDiscover” -Name ‘ExcludeExplicitO365Endpoint’ -Value 1 -Type DWORD –Force

Office 365 Please Add Import Export Role

March 4th, 2020
  • Browse to 365 home panel.
  • Select Admin Centres and Exchange.
  • Select Permissions.
  • Click”+” to create a new role.
  • Name the role Import Export.
  • Under Roles locate the “Mailbox Import Export” role.
  • Add the desired user.
  • Wait an hour and check back!
  • https://protection.office.com/
  •