Fix “Connect-AzureAD : The term ‘Connect-AzureAD’ is not recognized as the name of a cmdlet, function, script file, or operable program.” Error

Problem: When trying to connect to Azure AD from PowerShell, using: “Connect-AzureAD” cmdlet, received an error: “Connect-AzureAD: The term ‘Connect-AzureAD’ is not recognized as the name of a cmdlet, function, script file, or operable program.” Solution for Connect-AzureAD not recognized Issue: Install the Azure AD Module! Open PowerShell as an administrator, Enter:…

Read more

How to Get the Tenant ID in SharePoint Online?

Requirement: Get Tenant ID from SharePoint Online. What is my SharePoint Online Tenant ID? When you subscribe to Office 365, You’ll be assigned a unique identifier as your Tenant ID. This Tenant ID is a GUID that links all services in your Office 365 environment. At times, you may need to know…

Read more

How to Remove a User from Office 365 Group using PowerShell?

Requirement: Remove a user from Office 365 group using PowerShell. How to remove a User from Office 365 Group? If you are an Office 365 administrator, there may come a time when you need to remove a user from the group. This article will show you how to remove a user from…

Read more

How to Recover a Deleted Office 365 Group using PowerShell?

Requirement: Recover Deleted Office 365 Group via PowerShell. Prerequisites: You need to have the “Azure AD 2.0, AKA Azure Active Directory PowerShell for Graph” or the latest module installed on your machine. You can check if you have the Azure Active Directory module installed by: Get-InstalledModule -Name “AzureAD*”. If you have any…

Read more

How to Delete an Office 365 Group using PowerShell?

Requirement: Delete Office 365 Group using PowerShell. How to Delete an Office 365 Group? Microsoft Office 365 Groups offer a collaborative environment for teamwork. However, sometimes you may need to delete an Office 365 Group. Perhaps, You may want to clean up old Office 365 groups. This blog post will walk through…

Read more

How to Find All Office 365 Groups using PowerShell?

Requirement: Get Office 365 Groups using PowerShell. How to Get Office 365 Groups in Admin Center? Microsoft Office 365 Groups provide a simple and efficient way to collaborate with other people in your organization. However, manually locating all the groups in your tenant can be a tedious task. This blog post will…

Read more

Add AD Group to SharePoint Online Group using PowerShell

Requirement: Add Active Directory security group to SharePoint Online Group using PowerShell. How to Add AD Group to SharePoint Online Groups? Adding an Active Directory (AD) group to SharePoint Online is a great way to manage user permissions. By adding AD groups, you can give users access to SharePoint sites, libraries, lists,…

Read more