Skip to content

Tag: PowerShell

Adding Office 365 Admin Role Group Members using PowerShell

Adding Office 365 Admin Role Group Members using PowerShell To learn more about the different roles click here: Office 365 admin roles. To start adding members to an admin role, a connection to Office 365 needs to be established first. The following script can be used from technet or you can following the below steps.…

Leave a Comment

Create Office 365 Safe Attachments Policy and Safe attachment Rule using PowerShell

Create Office 365 Safe Attachments Policy and Safe attachment Rule using PowerShell To get started with creating the Safe attachment policy and safe attachment rule a connection to Exchange Online Protection needs to be established. To establish a connection to Exchange Online Protection (EOP), follow the below.

Then import the new session

Leave a Comment

Get-AzureADDirectorySettingTemplate : The term ‘Get-AzureADDirectorySettingTemplate’ is not recognized.

Get-AzureADDirectorySettingTemplate : The term ‘Get-AzureADDirectorySettingTemplate’ is not recognized. You receive the following error when trying to execute the following cmdlet: Get-AzureADDirectorySettingTemplate. To resolve this error, you need to install the following PowerShell Module AzureADPreview. But you will find that users have installed the PowerShell Module AzureAD and this Module does not have the cmdlets for…

2 Comments

How to Install Microsoft Teams PowerShell Module

How to Install Microsoft Teams PowerShell Module In this short post, we will look at how to install the PowerShell module for Microsoft Teams. To get started we need to launch a PowerShell window. Ps. a Minimum PowerShell version is 3.0 Then type the following.

Enter Yes to continue, the module will start to…

Leave a Comment

How to increase Office 365 OneDrive Storage for a User.

How to increase Office 365 OneDrive Storage for a User. In this post we will look at how to increase the OneDrive storage for a specific user in Office 365. To get started we need to Download the SharePoint Online PowerShell Module which can be downloaded from the following link. Download the latest SharePoint Online…

3 Comments

Office 365 Hybrid Emails Stuck in Queue: target host responded 421.4.4.1 connection timed out mail-onmicroosft.mail.protecion.outlook.com.

Office 365 Hybrid Emails Stuck in Queue: target host responded 421.4.4.1 connection timed out mail-onmicroosft.mail.protecion.outlook.com. You receive the following error after running the Hybrid Configuration wizard, all emails are building up in the Exchange Queue. To resolve this issue, follow the below steps. Make sure that the all your exchange servers are added to the…

3 Comments

Exchange Transport is rejecting submissions because the available disk space has dropped below the configured threshold.

Exchange Transport is rejecting submissions because the available disk space has dropped below the configured threshold. Microsoft Exchange Server makes use of back pressure monitor systems to prevent Exchange Server from being overwhelmed by the volume of incoming messages. What is Back pressure? Back pressure is a system resource monitoring feature of the Microsoft Exchange…

1 Comment

How to Enable Mailbox Auditing in Office 365

How to Enable Mailbox Auditing in Office 365 By default, all non-owner access and administrative actions are recorded, but owner actions are not. Enabling mailbox auditing will include owner activity in the audit records, which will in turn enable you to investigate and scope a compromise of that user’s account. To enable auditing, The Microsoft…

Leave a Comment

The Connection to the Server could not be completed Migrating to Exchange Online

The Connection to the Server could not be completed Migrating to Exchange Online Use receive the following error when migrating from Exchange On-Prem to Exchange Online. After receiving this issue, I decided to look further into the MigrationEndPoint using PowerShell for EXO.

Here I can see that the user who created the Hybrid Setup…

1 Comment