Search for: Practical PowerShell

865 Results

The Practical 365 Update – Episode 32: Live from #CollabSummit, Lists goes offline, Azure AD, SharePoint and Teams news

On the show this week, Steve's having a major case of FOMO whilst Paul's at the European Collaboration Summit, joining us live from the expo floor via Teams. And as well as the news from #CollabSummit, we discuss the latest improvements to Microsoft Lists, Azure AD and Authenticator, Information Barriers, Teams, Compliance and SharePoint.

Continue Reading The Practical 365 Update – Episode 32: Live from #CollabSummit, Lists goes offline, Azure AD, SharePoint and Teams news

Use PowerShell to Create a Report About the Teams Policies Assigned to User Accounts

Like all the other Microsoft 365 administrative consoles, the Teams admin center doesn't have any print options. If you want to print off any kind of information about Teams settings, you need to write your own code. PowerShell makes it easy to create a report about the Microsoft Teams policy assignments for user accounts. In this article, we explain how to extract policy information and generate a HTML report.

Continue Reading Use PowerShell to Create a Report About the Teams Policies Assigned to User Accounts

Using Certificate-based Authentication with the Microsoft Graph PowerShell SDK

Although it's easy to write scripts using cmdlets in the Microsoft Graph PowerShell, SDK you probably don't want to execute the scripts interactively. In this article, we explain how to use certificate-based (app-only) authentication to run scripts. This is very much an explanation about how to accomplish the task in a testing environment. If you want to run scripts in production, some extra work is needed.

Continue Reading Using Certificate-based Authentication with the Microsoft Graph PowerShell SDK

Using the Microsoft SDK for PowerShell to Report Azure AD Account Sign-ins

The Microsoft Graph SDK for PowerShell can be used for many purposes, among which is access to Azure AD account sign-in data. In this article, we explain how to use the SDK cmdlets to retrieve sign-in data for both tenant and guest accounts and report what we find. You can use the report to identify potentially unused accounts which might not need some expensive licenses, or guest accounts that are no longer used.

Continue Reading Using the Microsoft SDK for PowerShell to Report Azure AD Account Sign-ins

Send Exchange Online Email Using the Microsoft Graph SDK for PowerShell

Many people use the PowerShell Send-MailMessage cmdlet to send email from Exchange Online. In this article, we explain how to use cmdlets from the Microsoft Graph SDK for PowerShell to do the same job. The reason why this is important is that Microsoft will eventually deprecate the Send-MailMessage cmdlet as part of its campaign to eliminate basic authentication from Exchange Online. A replacement will be needed for all those PowerShell scripts which uses Send-MailMessage. This is one solution.

Continue Reading Send Exchange Online Email Using the Microsoft Graph SDK for PowerShell

How to Create a Microsoft 365 Licensing Report Using the Microsoft Graph SDK for PowerShell

After figuring out how to convert a script from using Azure AD licensing cmdlets (due to stop working in June 2022), we move on to create a licensing report for a tenant using cmdlets from the Microsoft Graph SDK for PowerShell. The code is pretty straightforward, but you need to do some up-front work to extract and prepare some input files containing product and service plan codes. Given that Microsoft is increasing its license fees, it's a good time to report this information...

Continue Reading How to Create a Microsoft 365 Licensing Report Using the Microsoft Graph SDK for PowerShell