Skip to content

Tag: PowerShell

Add Microsoft Teams Members using PowerShell

Add Microsoft Teams Members using PowerShell In this post, we will look at how to add Teams Members using PowerShell. To find out how to create a Team using PowerShell view the following post: http://www.thatlazyadmin.com/create-new-microsoft-team-using-powershell/ To get started, we need to first get the Teams GroupId as this will be used to add the new…

Leave a Comment

Create new Microsoft Team using PowerShell

Create new Microsoft Team using PowerShell In this post, we will go through the steps for how to create a new Microsoft Team. To gets started the Microsoft Teams PowerShell module needs to be installed first, steps on how to install the Microsoft Teams PowerShell module can be found here: http://www.thatlazyadmin.com/install-microsoft-teams-powershell-module/ Once the Microsoft Teams…

Leave a Comment

Connect to Exchange servers using remote PowerShell

Connect to Exchange servers using remote PowerShell If you do not have local access to your Exchange server, you can use Exchange remote PowerShell to connect to your Exchange Servers. To get started open PowerShell on your local computer. Type the following $UserCredential = Get-Credential The create the new PSSession (Change the FQDN to that…

2 Comments

How to Restrict Users from Creating new Microsoft Teams and Office 365 Groups

The following process will prevent users in your Office 365 Tenant from creating Office 365 groups and new Microsoft Teams. To get started you will have to create a new group in Office 365 and this group will be used to manage who can create Office 365 groups in the organisation. Office 365 groups is…

7 Comments

Do not allow infected files to be downloaded from SharePoint Online

Do not allow infected files to be downloaded from SharePoint Online Office 365 helps protect your environment by detecting viruses and malware in file that users upload to SharePoint Online. Files are scanned for viruses after they are uploaded. If a file is found to be infected, a property is set so that users can’t…

Leave a Comment

Disable anonymous calendar sharing in Office 365 Admin Center and PowerShell.

Disable anonymous calendar sharing in Office 365 Admin Center and PowerShell During this post, we will run down on how to disable anonymous calendar sharing in Office 365. By default, anonymous calendar sharing is enabled, as an Office 365 admin can you decide what kind of information your user share externally. With Anonymous calendar sharing…

Leave a Comment

How to verify if Mailbox Auditing is enabled by Default on your Office 365 Tenant

How to verify if Mailbox Auditing is enabled by Default on your Office 365 Tenant Started from January 2019, Microsoft turned on mailbox auditing by default for all Microsoft 365 organizations. This means that the certain actions like the following will be logged and can be viewed in the mailbox audit log. Mailbox owner Delegates…

Leave a Comment

Configure Azure AD Connect Pass Through Authentication

Configure Azure AD Connect Pass Through Authentication Azure pass-through authentication allows user to login to cloud and on-premise applications by using the same passwords. Pass-through authentication validated the password against the on-premise active directory. Prerequisite needed: Global Admin account Azure AD Connect 1.1.750.0 or later Windows Server 2012 R2 or later with TLS 1.2 enabled…

Leave a Comment

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