O365
15 Useful PowerShell Scripts to Audit Office 365 Activities
(o365reports.com)
Auditing plays a vital role in monitoring activities performed in the Microsoft 365 organization.
By: Kathy Cooper submitted:Oct 14 2022
Auditing plays a vital role in monitoring activities performed in the Microsoft 365 organization.
Office 365 audit reports will be helpful to identify security events, monitor user activities, track file sharing, investigate forensic events, etc. Most admins prefer PowerShell over [.]
By: Kathy Cooper submitted:Oct 14 2022
2.9.0 Released and Big Update
(clatent.com)
I know it's been a month, all good though! I think I may start doing monthly release, what are your
By: Clayton Tyger submitted:Apr 19 2024
I know it's been a month, all good though! I think I may start doing monthly release, what are your
thoughts? I was going to do every 2 weeks, but not sure if that is too quick. Big update as I'm s...
By: Clayton Tyger submitted:Apr 19 2024
365AutomatedLab and new companion module coming soon
(clatent.com)
365AutomatedLab and new companion module coming soon I promise I haven't forgotten about
By: ClaytonT submitted:Jul 12 2024
365AutomatedLab and new companion module coming soon I promise I haven't forgotten about
365AutomatedLab, but I'll be honest after Microsoft made the announcement of no more new Dev tenants it hurt a bit as I know how useful they are on learning and testing features and PowerShell without hurting your production environment.
By: ClaytonT submitted:Jul 12 2024
365Automatedlab V2.10.1 Released!
(clatent.com)
I know I said every 2 weeks, but I lied. I wanted to get this out! It is now possible to add a
By: Clayton Tyger submitted:May 3 2024
I know I said every 2 weeks, but I lied. I wanted to get this out! It is now possible to add a
manager when creating a new user. Also added a feature so that when you use the parameter -UseDevelope...
By: Clayton Tyger submitted:May 3 2024
365Automatedlab V2.4.0 Released!
(clatent.com)
Overall things are good, and glad to put out v2.4.0 which I've added a function to delete all
By: Clayton Tyger submitted:Jan 26 2024
Overall things are good, and glad to put out v2.4.0 which I've added a function to delete all
"deleted" SharePoint sites the recycle bin. The reason for it is you can't mass delete SharePoint sites from the GUI and sometimes you create SharePoint sites that aren't in your Excel workbook and this just makes it easier.
By: Clayton Tyger submitted:Jan 26 2024
365AutomatedLab V2.8.0 is released and 365 Dev Tenant Announcement Feelings
(clatent.com)
I know it's been a bit, but life has been a bit hectic. Also a bit saddened about the Microsoft
By: Clayton Tyger submitted:Mar 29 2024
I know it's been a bit, but life has been a bit hectic. Also a bit saddened about the Microsoft
announcement that you can no longer create new Free 365 Dev Tenants. I'm really hoping they revert that decision, or make the Dev Tenant even better. I honestly don't think it's a money grab, but more for security. If it is toot easy to create a temp tenant it is a great tool for bad actors. I'll leave it at that for now, and will probably do a bigger blog post on it in the future.
By: Clayton Tyger submitted:Mar 29 2024
Adding Details of Authentication Methods to the Tenant Passwords and MFA Report
(office365itpros.com)
V1.2 of the User Passwords and MFA report includes the names of authentication methods registered
By: Tony Redmond submitted:Jun 28 2024
V1.2 of the User Passwords and MFA report includes the names of authentication methods registered
for user accounts. V1.3 expands the amount of detail reported for each method, such as the phone number used for SMS challenges, or the email address used for SSPR. It's a small but important detail that's useful to administrators. However, it also comes with a potential privacy issue, so the script must handle that too.
By: Tony Redmond submitted:Jun 28 2024
Announcing General Availability of the Exchange Online PowerShell v2 Cmdlets
(techcommunity.microsoft.com)
The V2 module is now available in the PowerShell Gallery and we recommend all Exchange Online
By: The Exchange Team submitted:Jun 16 2022
The V2 module is now available in the PowerShell Gallery and we recommend all Exchange Online
customers start using these new cmdlets right away.
By: The Exchange Team submitted:Jun 16 2022
Audit & Report Microsoft 365 Admin Activity using PowerShell
(o365reports.com)
As a Microsoft 365 admin, ever pondered how your sub-admins wield their privileged powers? We get it
By: Shan submitted:Jan 5 2024
As a Microsoft 365 admin, ever pondered how your sub-admins wield their privileged powers? We get it
- managing multiple admins is no small feat. Microsoft 365 administrators hold significant responsibilities like getting users on board, handling passwords, overseeing various
By: Shan submitted:Jan 5 2024
Automatically alert your team when your tenant is running low or out of Office 365 license
(insterswap.wordpress.com)
I would like to kick off this post with a question. Why would Microsoft create something so BB (big
By: u/kdships submitted:Jun 15 2022
I would like to kick off this post with a question. Why would Microsoft create something so BB (big
and beautiful) and forget to add an alert to indicate when a license SKU is running low? I have not seen any feature within Office 365 that sends one a notification when a tenant license SKU is low.
By: u/kdships submitted:Jun 15 2022
Automating Windows 365 part 1 – Introducing Graph and setting up Visual Studio code
(sccmentor.com)
Introduction This is Part 1 of a new series of guides which will cover managing Windows 365 Cloud
By: SCCMentor submitted:Nov 3 2023
Introduction This is Part 1 of a new series of guides which will cover managing Windows 365 Cloud
PC's using PowerShell and Microsoft Graph. This mini series should help you get started with automating
By: SCCMentor submitted:Nov 3 2023
Automating Windows 365 part 2 – Using Graph X-Ray
(sccmentor.com)
Introduction This is Part 2 of a new series of guides which will cover managing Windows 365 Cloud
By: SCCMentor submitted:Jan 5 2024
Introduction This is Part 2 of a new series of guides which will cover managing Windows 365 Cloud
PC's using PowerShell and Microsoft Graph. This mini series should help you get started with automatingContinue reading
By: SCCMentor submitted:Jan 5 2024
Automating with PowerShell: Increasing the O365 Secure Score
(cyberdrain.com)
At the start of this week I've blogged about reading the secure score and documenting it. This is of
By: Kelvin Tegelaar submitted:Jun 16 2022
At the start of this week I've blogged about reading the secure score and documenting it. This is of
course just one part of the new beta Secure Score module. The next one is actually the more fun part; applying the correct security settings to a tenant.
By: Kelvin Tegelaar submitted:Jun 16 2022
Azure Arc: Remove an Extended Security License with an Azure PowerShell script
(wmatthyssen.com)
In this blog post, you'll discover how to utilize an Azure PowerShell script for removing an
By: Wim Matthyssen submitted:Oct 20 2023
In this blog post, you'll discover how to utilize an Azure PowerShell script for removing an
Extended Security License (ESU)Continue Reading
By: Wim Matthyssen submitted:Oct 20 2023
Bulk License Assignment with the Microsoft Graph PowerShell SDK
(practical365.com)
A reader asked how to use a CSV file for bulk license assignment with the Microsoft Graph PowerShell
By: Tony Redmond submitted:Sep 8 2023
A reader asked how to use a CSV file for bulk license assignment with the Microsoft Graph PowerShell
SDK. We didn't have one to hand, so we wrote a new script to illustrate the principles of how to process license assignments for a set of user accounts (which don't necessarily have to come from a CSV file). We even included some error handling!
By: Tony Redmond submitted:Sep 8 2023
Changing Modern and Basic authentication settings
(cyberdrain.com)
A friend of mine recently asked the question on how he could edit the Modern Authentication settings
By: Kelvin Tegelaar submitted:Jun 16 2022
A friend of mine recently asked the question on how he could edit the Modern Authentication settings
in Office365. He found that when he went to the new Settings Pane for Modern Authentication he could change settings specifically to block older clients.
By: Kelvin Tegelaar submitted:Jun 16 2022
Connect to Exchange Online PowerShell with an Azure Managed Identity
(thelazyadministrator.com)
Recently the Exchange Online Module v2 came out with support for connecting to Exchange Online via a
By: Brad Wyatt submitted:Sep 16 2022
Recently the Exchange Online Module v2 came out with support for connecting to Exchange Online via a
managed identity. The module has several parameters:
By: Brad Wyatt submitted:Sep 16 2022
Connect to the Microsoft Entra PowerShell Module
(o365reports.com)
We all know that Microsoft deprecated the Azure AD PowerShell and MSOnline PowerShell modules. So,
By: Sudha submitted:Jun 28 2024
We all know that Microsoft deprecated the Azure AD PowerShell and MSOnline PowerShell modules. So,
they advise us to migrate all the scripts to the MS Graph PowerShell. But finding the equivalent cmdlets and updating the scripts can be tough. Don't worry! Microsoft heard our struggle!
By: Sudha submitted:Jun 28 2024
Control license allocation with the PowerShell in Microsoft 365!
(techcommunity.microsoft.com)
I used the PowerShell ISE for this configuration. But you are also very welcome to use Visual Studio
By: Tom Wechsler submitted:Jun 16 2022
I used the PowerShell ISE for this configuration. But you are also very welcome to use Visual Studio
Code, just as you wish. Please start with the following steps to begin the deployment (the Hashtags are comments):
By: Tom Wechsler submitted:Jun 16 2022
DCToolbox – An Easy Approach to Deploy Conditional Access Policies
(o365reports.com)
When it comes to Conditional Access policies in Microsoft 365, the task isn't a walk in the park for
By: Thiraviam submitted:Oct 27 2023
When it comes to Conditional Access policies in Microsoft 365, the task isn't a walk in the park for
administrators; it is a critical task to do! While our primary concern is safeguarding our data with these policies, it's equally important
By: Thiraviam submitted:Oct 27 2023
Despite the Doubters, Microsoft 365 Administrators Should Continue Using PowerShell
(office365itpros.com)
A recent article by a Microsoft MVP attempted to lay out a case that tenants should not use
By: Tony Redmond submitted:Mar 8 2024
A recent article by a Microsoft MVP attempted to lay out a case that tenants should not use
Microsoft 365 PowerShell and use ISV products instead. It's a silly position to argue. PowerShell is an important automation tool for administrators that can't be replaced by any ISV product. ISV products have their place and fill many gaps, but arguing to dump PowerShell and use ISV products instead just can't be justified.
By: Tony Redmond submitted:Mar 8 2024
Discover Who Creates Guest Accounts in Office 365 Applications
(petri.com)
At a recent conference, a discussion took place about the number of guest user accounts now being
By: Tony Redmond submitted:Jun 15 2022
At a recent conference, a discussion took place about the number of guest user accounts now being
created by applications in the directories of Office 365 tenants. The accounts are created through Azure B2B collaboration (by applications that generate invitations to join Office 365 Groups, like Teams and Planner) or SharePoint sharing invitations for documents or folders. It's one thing to invite people outside your tenant to collaborate; it's a horse of a different color to manage the resulting guest accounts.
By: Tony Redmond submitted:Jun 15 2022
Documenting with PowerShell: Documenting mobile devices
(cyberdrain.com)
This was a request by a friend in one of the peer groups I operate in. He wanted a method to
By: Kelvin Tegelaar submitted:Jun 16 2022
This was a request by a friend in one of the peer groups I operate in. He wanted a method to
document which mobile devices exist in a O365 tenant and put them into IT-Glue as configurations. I figured I'd help him real quick and blog about it.
By: Kelvin Tegelaar submitted:Jun 16 2022
Documenting with PowerShell: Office 365 Secure Score PowerShell module
(cyberdrain.com)
A while back I wrote a blog about the Secure Score and how to increase it. After that blog I got a
By: Kelvin Tegelaar submitted:Jun 16 2022
A while back I wrote a blog about the Secure Score and how to increase it. After that blog I got a
lot more questions about documenting Secure Score with the Secure Application model.
By: Kelvin Tegelaar submitted:Jun 16 2022
DomainHealthChecker
(github.com)
Is your email domain properly protected against abuse, such as email spoofing? This form of abuse
By: T13nn3s submitted:Jun 16 2022
Is your email domain properly protected against abuse, such as email spoofing? This form of abuse
can cause (image) damage to an organization. The PowerShell script DomainHealthChecker.ps1 checks the SPF, DKIM and DMARC record of one or more email domains and gives advice if necessary.
By: T13nn3s submitted:Jun 16 2022
Errors Connecting to Skype for Business Online PowerShell Module
(jeffbrown.tech)
While Teams may have its own PowerShell module, many of the management tasks still reside in legacy
By: Jeff Brown submitted:Jun 16 2022
While Teams may have its own PowerShell module, many of the management tasks still reside in legacy
Skype for Business Online PowerShell. To connect to this service, you need to download and install the latest SkypeOnlineConnector module and create a remote PowerShell session to the service.
By: Jeff Brown submitted:Jun 16 2022
Essential PowerShell for Office 365
(amazon.com)
Take your Office 365 skills to the next level. Master PowerShell for Office 365 to stay competitive
By: Vlad Catrinescu submitted:Jun 15 2022
Take your Office 365 skills to the next level. Master PowerShell for Office 365 to stay competitive
in today's world of highly sought after cloud management skills. With expert guidance, IT pros will learn how to leverage the muscle of PowerShell to automate many advanced administrative tasks not otherwise accessible in the Office 365 Admin Center. You will discover how to unlock configuration options and automate tasks in order to free up valuable time and resources.
By: Vlad Catrinescu submitted:Jun 15 2022
Exchange Online PowerShell Book Updated!
(powershellgeek.com)
Last night (11/16/22) the Exchange Online PowerShell book had it's first of three planned updates!
By: damian submitted:Nov 18 2022
Last night (11/16/22) the Exchange Online PowerShell book had it's first of three planned updates!
The new edition of the book is available HERE and is a Nov 2022 Edition! Go get your copy now, or if you are a subscriber (THANK YOU!) you can download an update to your subscription. The next update should...
By: damian submitted:Nov 18 2022
Exchange Online PowerShell V2 use cases and small tutorial
(blog.it-koehler.com)
Dealing with PowerShell is a great thing, especially if you have to administer a large and dynamic
By: Alexander Koehler submitted:Jun 16 2022
Dealing with PowerShell is a great thing, especially if you have to administer a large and dynamic
organization. Let's spend some time to learn some default use cases lot of exchange admins have to do. In this article I'm showing a various combination of different PowerShell cmdlets, with special focus in the new Exchange Online cmdlets. You can do a much more crazy stuff, but I want to show some basics.
By: Alexander Koehler submitted:Jun 16 2022
EXO V2 PowerShell module is now Generally Available on Linux & macOS
(techcommunity.microsoft.com)
At Microsoft Ignite 2020, we announced the preview of support for Linux and Windows PowerShell Core
By: Exchange Team submitted:Jun 16 2022
At Microsoft Ignite 2020, we announced the preview of support for Linux and Windows PowerShell Core
in Exchange Online management using EXO V2 Module. Today, we are delighted to announce general availability of this feature along with the support for macOS.
By: Exchange Team submitted:Jun 16 2022
Export Conditional Access Policies to Excel using PowerShell
(o365reports.com)
Conditional Access policies play a vital role in securing your Microsoft 365 environment and are a
By: Shan submitted:Feb 23 2024
Conditional Access policies play a vital role in securing your Microsoft 365 environment and are a
key component of the zero-trust model. However, setting them up incorrectly can have serious consequences, like unintentionally compromising your entire Microsoft 365 security.
By: Shan submitted:Feb 23 2024
Export Microsoft 365 License Cost Report Using PowerShell
(o365reports.com)
Microsoft 365 offers a vast array of plans and licenses, making it easy to find the perfect fit for
By: Praba submitted:Jun 14 2024
Microsoft 365 offers a vast array of plans and licenses, making it easy to find the perfect fit for
your business needs. But with that flexibility comes complexity. Managing Microsoft 365 licenses and the cost spent on all those licenses can lead to confusion and can be a challenge.
By: Praba submitted:Jun 14 2024
Export Microsoft 365 Users’ Self-Service Password Reset (SSPR) Status Reports
(o365reports.com)
Microsoft self-service password reset (SSPR) feature enables users to reset passwords independently,
By: Shan submitted:Feb 16 2024
Microsoft self-service password reset (SSPR) feature enables users to reset passwords independently,
reducing help desk reliance in the organization. However, before users can utilize SSPR, admins must enable self-service password reset, and users must register their authentication methods.
By: Shan submitted:Feb 16 2024
Export Office 365 admins report
(reddit.com)
The admins in the tenant are responsible for all the users, devices, applications, etc. Many
By: u/Kathy_Cooper1012 submitted:Jun 16 2022
The admins in the tenant are responsible for all the users, devices, applications, etc. Many
different admin roles for each administration purpose will help the company to track, monitor, and support the people and resources that belong to the company.
By: u/Kathy_Cooper1012 submitted:Jun 16 2022
Faster Exchange PowerShell commands
(cyberdrain.com)
We've had the ExchangeOnlineManagement PowerShell module for some time now. This module is the
By: Kelvin Tegelaar submitted:Jun 16 2022
We've had the ExchangeOnlineManagement PowerShell module for some time now. This module is the
faster and better method of managing Exchange Online via PowerShell - It just has some downsides right now for most Microsoft Partners.
By: Kelvin Tegelaar submitted:Jun 16 2022
Find Out Where Users Get Sensitivity Labels From
(office365itpros.com)
A question about finding out which sensitivity label policy makes a label available to a user
By: Tony Redmond submitted:Aug 25 2023
A question about finding out which sensitivity label policy makes a label available to a user
requires some PowerShell to figure out the answer with some human-friendly results. The outcome is a script that analyzes sensitivity label policies to find where a user gets their labels from. It's another example of how useful PowerShell can be.
By: Tony Redmond submitted:Aug 25 2023
Find Who Created a User Account in Microsoft 365 | Audit User Creations
(o365reports.com)
In Microsoft 365, user accounts act as gateways to access resources. Unauthorized or suspicious user
By: Kavya submitted:Aug 4 2023
In Microsoft 365, user accounts act as gateways to access resources. Unauthorized or suspicious user
creations can lead to severe consequences, such as data breaches and compromises in sensitive information. Admins play a critical role in safeguarding organizational data by [...]
By: Kavya submitted:Aug 4 2023
Find Who Sent Email from Shared Mailbox in Office 365 using PowerShell
(o365reports.com)
Shared mailbox delegates can send emails from the shared mailbox based on permissions like 'Send As'
By: O365Reports.com submitted:Jun 16 2022
Shared mailbox delegates can send emails from the shared mailbox based on permissions like 'Send As'
and 'Send On Behalf.'
By: O365Reports.com submitted:Jun 16 2022
Get MFA Status For Azure/Office365 Users Using PowerShell
(thesysadminchannel.com)
Paul Contreras provides a great function you can use to quickly and easily see which users have MFA
By: submitted:Jun 15 2022
Paul Contreras provides a great function you can use to quickly and easily see which users have MFA
enabled or not.
By: submitted:Jun 15 2022
Get Microsoft 365 License Usage Count Using PowerShell
(thesysadminchannel.com)
Keeping an eye on the available licenses in your Microsoft tenant is essential to ensuring you and
By: Paul Contreras submitted:Nov 17 2023
Keeping an eye on the available licenses in your Microsoft tenant is essential to ensuring you and
your users have what is needed to keep the business running. Whether you assign licenses directly or you use Group Based Licensing
By: Paul Contreras submitted:Nov 17 2023
Get Microsoft 365 Users’ Registered MFA Methods With PowerShell
(o365reports.com)
Nowadays, security is paramount and multifactor authentication (MFA) stands as a critical line of
By: Praba submitted:Aug 16 2024
Nowadays, security is paramount and multifactor authentication (MFA) stands as a critical line of
defense in protecting sensitive information within Microsoft 365 environments. As organizations increasingly adopt to configure MFA, it becomes essential for administrators to monitor the authentication methods registered by users.
By: Praba submitted:Aug 16 2024
Get-Mailbox Versus Get-ExoMailbox
(office365itpros.com)
Microsoft's advice is to use the Get-ExoMailbox cmdlet instead of its older Get-Mailbox counterpart.
By: Tony Redmond submitted:Sep 20 2024
Microsoft's advice is to use the Get-ExoMailbox cmdlet instead of its older Get-Mailbox counterpart.
Generally, this is good advice that you should follow. However, the older cmdlet can do a job in certain circumstances, so don't write it off completely. More importantly, make sure that filtering of objects is done using server-side filters. This will improve script performance significantly.
By: Tony Redmond submitted:Sep 20 2024
Get-MsIdUnredeemedInvitedUser
(github.com)
Are you monitoring your Azure AD tenant for external users the business invites but are not actually
By: Jef Kazimer submitted:Sep 9 2022
Are you monitoring your Azure AD tenant for external users the business invites but are not actually
redeemed? Here is a quick example PowerShell cmdlet using MS Graph API to enumerate them by creation date and either delete or disable them as you wish
By: Jef Kazimer submitted:Sep 9 2022
Getting Microsoft 365 Individual User Usage Reports with PowerShell
(blog.darrenjrobinson.com)
The ability to obtain Individual User Usage Reports has been possible in Office365 for many years.
By: Darren Robinson submitted:Jun 16 2022
The ability to obtain Individual User Usage Reports has been possible in Office365 for many years.
However, they were only available from each individual service such as Teams, OneDrive, Exchange, SharePoint and Yammer. If you wanted a holistic view you needed to query each of the services API's and collate the responses for each identity. In August 2020 Microsoft added the ability to get M365 User Usage Reports to the BETA Microsoft Graph API. This means you can now use the Microsoft Graph Reports API to get a Microsoft 365 Individual User Usage Report with PowerShell rather than using the Microsoft 365 Admin Portal and the reports functionality there.
By: Darren Robinson submitted:Jun 16 2022
Getting Started with 365AutomatedLab Part 1
(clatent.com)
Adding/Removing Users Adding Users With 365AutomatedLab, you can add as many users with their
By: Clayton Tyger submitted:Sep 29 2023
Adding/Removing Users Adding Users With 365AutomatedLab, you can add as many users with their
primary licensing as you need at one time. Currently, the Microsoft Dev Environment only allows 25 lice...
By: Clayton Tyger submitted:Sep 29 2023
Handle timeouts while scripting with the microsoft cloud (or anywhere else)
(blog.it-koehler.com)
If you found this article maybe you are struggling slowness of the Microsoft cloud (or some other
By: Alexander Koehler submitted:Jun 16 2022
If you found this article maybe you are struggling slowness of the Microsoft cloud (or some other
products) and your script fails because it does not find the newly created object. Yeah that's a big issue especially in the wonderful cloud, and if you want to automate tasks. So I invested some time to script this issue, which is not really difficult. It may help others during scripting.
By: Alexander Koehler submitted:Jun 16 2022
hawk
(github.com)
Powershell Based tool for gathering information related to O365 intrusions and potential Breaches
By: Paul Navarro submitted:Jun 16 2022
Powershell Based tool for gathering information related to O365 intrusions and potential Breaches
By: Paul Navarro submitted:Jun 16 2022
How I Write PowerShell Scripts for Microsoft 365
(office365itpros.com)
The question of how best to write PowerShell for Microsoft 365 was asked during a TEC 2024
By: Tony Redmond submitted:Oct 11 2024
The question of how best to write PowerShell for Microsoft 365 was asked during a TEC 2024
PowerShell workshop. There are many variables, and one has the right answer. To start the ball rolling, this article describes how I write PowerShell for Microsoft 365 using a variety of modules such as Exchange, SharePoint, Teams, and the Microsoft Graph PowerShell SDK.
By: Tony Redmond submitted:Oct 11 2024
How to Hide Teams-Enabled Groups from Exchange Online
(office365itpros.com)
Microsoft intends for groups created for new MicrosoftTeams to be hidden from Exchange Online. Many
By: Tony Redmond submitted:Jun 16 2022
Microsoft intends for groups created for new MicrosoftTeams to be hidden from Exchange Online. Many
are not. If you want to hide all the groups used by Teams, here's how to do the job with PowerShell
By: Tony Redmond submitted:Jun 16 2022
How to Identify MFA Deployment Source in Microsoft 365 Using PowerShell
(o365reports.com)
Have you ever felt like managing multi-factor authentication (MFA) is more of a hurdle than a
By: PaVee submitted:Jun 28 2024
Have you ever felt like managing multi-factor authentication (MFA) is more of a hurdle than a
security measure? Constant MFA issues can be frustrating! Here are some common MFA issues; as you read, consider how you might address these challenges.
By: PaVee submitted:Jun 28 2024
How to Remove Licenses From Disabled Accounts with PowerShell
(office365itpros.com)
This article explains how to use PowerShell to remove licenses from disabled accounts, including
By: Tony Redmond submitted:Oct 13 2023
This article explains how to use PowerShell to remove licenses from disabled accounts, including
some caveats such as not removing Exchange Online licenses. Organizations might want to do this to save money on Microsoft 365 license fees while an account is temporarily unused. Removal of Exchange Online licenses can result in the loss of a mailbox, and you don't want that to happen if you're disabling accounts just because someone is on a long-term sabbatical or other leave of absence.
By: Tony Redmond submitted:Oct 13 2023
How to Report the MFA Status for Entra ID User Accounts
(practical365.com)
Microsoft doesn't provide a PowerShell cmdlet to return an accurate MFA status for Entra ID user
By: Tony Redmond submitted:Feb 2 2024
Microsoft doesn't provide a PowerShell cmdlet to return an accurate MFA status for Entra ID user
accounts, but by combining data from multiple sources we can write a script to generate a report showing details of user password settings and MFA status.
By: Tony Redmond submitted:Feb 2 2024
How to Restore an Office 365 Mailbox for Free [Tutorial]
(adamtheautomator.com)
So an admin just accidentally removed one of your executives' Office 365 mailboxes or maybe an
By: June Castillote submitted:Jun 15 2022
So an admin just accidentally removed one of your executives' Office 365 mailboxes or maybe an
automation script has gone awry that decided to "clean up" your Office 365 tenant unintentionally. In that case, you've got some mailbox restoration to do! Why pay big money for expensive software when you can do it for free using some knowledge and a little PowerShell?
By: June Castillote submitted:Jun 15 2022
How to Retrieve Loop Workspaces Data with PowerShell
(office365itpros.com)
A previous attempt to write a script to report all Loop workspaces in a tenant was flawed because it
By: Tony Redmond submitted:Apr 12 2024
A previous attempt to write a script to report all Loop workspaces in a tenant was flawed because it
only retrieved the first 200 workspaces. I hadn't realized that the Get-SPOContainer cmdlet supported an odd form of pagination to retrieve workspace data. In any case, I figured out how to page top find all available workspaces and updated the script. It's just another example of oddness in the SharePoint Online PowerShell module
By: Tony Redmond submitted:Apr 12 2024
How to run PowerShell scripts to automate manual processes in Office 365
(practical365.com)
From: Daler SayfiddinovAutomation is centric to our role as IT professionals in order to make manual
By: submitted:Jun 15 2022
From: Daler SayfiddinovAutomation is centric to our role as IT professionals in order to make manual
tasks such as managing servers, endpoints or processes, more streamlined and efficient. However, since the proliferation of cloud technology, we’re now facing a new challenge, managing and automating the cloud environment.
By: submitted:Jun 15 2022
How to Update Shared Mailbox Owners About Quota Usage
(office365itpros.com)
An old script created to report quotas for user mailboxes provided the basis for email-based
By: Tony Redmond submitted:Oct 6 2023
An old script created to report quotas for user mailboxes provided the basis for email-based
reporting of shared mailbox quotas. The old script used just Exchange Online PowerShell. This versions mixes Exchange Online and the Graph SDK and throws in some certificate-based authentication to boot to allow the script to send email from something other than the signed-in account.. It all comes together, using chunks of code from other scripts to speed up writing. It's the PowerShell way...
By: Tony Redmond submitted:Oct 6 2023
How to Use PowerShell to Remove OneDrive Files Found by a Content Search
(practical365.com)
Recently, while working on some Content Searches, a question came up on how to perform selective
By: Damian Scoles submitted:Jun 16 2022
Recently, while working on some Content Searches, a question came up on how to perform selective
deletion of OneDrive documents found in the searches. While you can remove email using a content search action, Office 365 doesn't includ e a method to cleanup OneDrive documents found by content searches....
By: Damian Scoles submitted:Jun 16 2022
Introducing the Office 365 for IT Pros GitHub Repository
(office365itpros.com)
It can be hard to become fluent in PowerShell, especially when working with a service where multiple
By: Tony Redmond submitted:Jun 16 2022
It can be hard to become fluent in PowerShell, especially when working with a service where multiple
modules (all with their own kinks) are used. However, PowerShell is very approachable and it's surprising what you can do with just a couple of lines of code. Working examples are great learning tools to help PowerShell newcomers (and maybe experienced coders) come up with solutions to problems. A couple of years ago, we created the Office 365 for IT Pros GitHub repository. Since then, we've been populating the repository with PowerShell scripts created to illustrate new features or to demonstrate how to approach solving an administrative problem in an Office 365 tenant. The repository currently holds a collection of 81 scripts.
By: Tony Redmond submitted:Jun 16 2022
JustinGrote.Microsoft.Graph.Extensions
(github.com)
Just pushed my Microsoft Graph extensions to the PowerShell Gallery. Includes the Azure Az module
By: Justin Grote submitted:Jun 16 2022
Just pushed my Microsoft Graph extensions to the PowerShell Gallery. Includes the Azure Az module
single-sign-on, a search fix, and some additional "proxy" cmdlets that can be used as examples for making more "friendly" ones.
By: Justin Grote submitted:Jun 16 2022
Manage PIM Role Assignments with PowerShell
(office365itpros.com)
This article describes how to create eligible and active PIM role assignment requests using cmdlets
By: Tony Redmond submitted:Nov 15 2024
This article describes how to create eligible and active PIM role assignment requests using cmdlets
from the Microsoft Graph PowerShell SDK.
By: Tony Redmond submitted:Nov 15 2024
Mastering Microsoft 365 PowerShell Scripting
(practical365.com)
A common question at conferences is how to start with Microsoft 365 PowerShell scripting. We all
By: Tony Redmond submitted:Dec 15 2023
A common question at conferences is how to start with Microsoft 365 PowerShell scripting. We all
have our own approach. This article lays out a simple three-step method to write scripts to interact with Microsoft 365 objects.
By: Tony Redmond submitted:Dec 15 2023
Microsoft 365 Licensing Report Script V1.94
(office365itpros.com)
The Microsoft 365 Licensing Report PowerShell script has been upgraded to generate detailed license
By: Tony Redmond submitted:Sep 13 2024
The Microsoft 365 Licensing Report PowerShell script has been upgraded to generate detailed license
information and to deal with expired license subscriptions. You can download V1.94 of the script from GitHub. Before attempting to run the licensing report script, take the time to read previous articles to understand the basics of the script and how to generate the files used for pricing information.
By: Tony Redmond submitted:Sep 13 2024
Microsoft 365 Tenant-to-Tenant Migration Assessment Version 2
(practical365.com)
In this blog, Sean Mcavinue reviews an update to his original Tenant-to-Tenant Migration Assessment,
By: Sean McAvinue submitted:May 10 2024
In this blog, Sean Mcavinue reviews an update to his original Tenant-to-Tenant Migration Assessment,
which is designed to gather key data to consider during the migration planning process.
By: Sean McAvinue submitted:May 10 2024
Microsoft Flags Need to Upgrade PowerShell Scripts to Use TLS 1.2
(office365itpros.com)
Failure Will Break Ability to Send Email via Exchange Online
By: Tony Redmond submitted:Jun 16 2022
Failure Will Break Ability to Send Email via Exchange Online
By: Tony Redmond submitted:Jun 16 2022
Microsoft Forces Move from Azure AD Cmdlets for License Management
(practical365.com)
Some Cmdlets Cease Working on June 30, 2022
By: Tony Redmond submitted:Jun 16 2022
Some Cmdlets Cease Working on June 30, 2022
By: Tony Redmond submitted:Jun 16 2022
Modern Auth and Unattended Scripts in Exchange Online PowerShell V2
(techcommunity.microsoft.com)
Today, we are happy to announce the Public Preview of a Modern Auth unattended scripting option for
By: The Exchange Team submitted:Jun 16 2022
Today, we are happy to announce the Public Preview of a Modern Auth unattended scripting option for
use with Exchange Online PowerShell V2. This feature provides customers the ability to run non-interactive scripts using Modern Authentication. This feature requires version 2.0.3-Preview or later of the EXO PowerShell V2 module, available via PowerShellGallery.
By: The Exchange Team submitted:Jun 16 2022
Module Updates: What’s New?
(eightwone.com)
After updating your PowerShell modules which support managing parts of the Microsoft 365, some of us
By: Michel de Rooij submitted:Jun 16 2022
After updating your PowerShell modules which support managing parts of the Microsoft 365, some of us
are curious on changes that come with the new module version. In the world of continuous change, it is hard to keep track of these changes as new cmdlets or parameters get added to support new features, and some get removed as they become obsolete. So, how to discover what those changes are after updating to the latest module?
By: Michel de Rooij submitted:Jun 16 2022
Mohrpheus78/Microsoft/Teams User Settings.ps1
(github.com)
Change MS Teams user settings for Teams VDI app with Powershell
By: Dennis Mohrmann submitted:Jun 16 2022
Change MS Teams user settings for Teams VDI app with Powershell
By: Dennis Mohrmann submitted:Jun 16 2022
Monitoring with PowerShell: Monitoring O365 alerts
(cyberdrain.com)
So today we're tackling two blogs in one again, we're going to be focussing on two different types
By: Kelvin Tegelaar submitted:Jun 16 2022
So today we're tackling two blogs in one again, we're going to be focussing on two different types
of alerting policies. The first getting alerts for M365 or Azure P1/P2 users via the Graph API, these alerts are pretty cool as you can see if users are connecting from tor nodes/VPN nodes, or from stuff like malware linked IPs. Monitoring these alerts actively via your RMM helps you in making sure that users are as safe as they can be.
By: Kelvin Tegelaar submitted:Jun 16 2022
Monitoring with PowerShell: Monitoring O365 unused products
(cyberdrain.com)
As an MSP we manage a lot of clients, and I'm pretty sure we've all been in situations where a
By: Kelvin Tegelaar submitted:Jun 16 2022
As an MSP we manage a lot of clients, and I'm pretty sure we've all been in situations where a
client had some leavers in the company and not notify us as the administrators, or that the client had some very inactive users that don't really need to be licensed or could be converted to a shared mailbox for example.
By: Kelvin Tegelaar submitted:Jun 16 2022
Monitoring with PowerShell: Monitoring Outlook offline mode and OST Sizes, and active PSTS
(cyberdrain.com)
Todays blog I'm going to be showing how to monitor if outlook has been set to offline mode by the
By: Kelvin Tegelaar submitted:Jun 16 2022
Todays blog I'm going to be showing how to monitor if outlook has been set to offline mode by the
user, and if the OST size is nearing it's maximum size, as a bonus I'm also giving you the option of alerting on active PST files. The offline mode is just a handy gizmo to notify users that they might've misclicked - It still happens to our users from time to time.
By: Kelvin Tegelaar submitted:Jun 16 2022
Most Useful PowerShell Cmdlets to Manage Exchange Online Mailboxes
(o365reports.com)
Most admins prefer PowerShell over Microsoft 365 admin center to manage, report, audit, and analyze
By: O365Reports.com submitted:Jun 16 2022
Most admins prefer PowerShell over Microsoft 365 admin center to manage, report, audit, and analyze
their Exchange Online Environment. So, I have listed the top 15 useful PowerShell cmdlets for admins to manage their Exchange mailboxes efficiently.
By: O365Reports.com submitted:Jun 16 2022
Moving on from Send-MailMessage
(practical365.com)
Sending Email from PowerShell using the Graph API
By: Tony Redmond submitted:Jun 16 2022
Sending Email from PowerShell using the Graph API
By: Tony Redmond submitted:Jun 16 2022
My first experience trying to use the PowerShell beta module for Microsoft 365 Backup
(powershellisfun.com)
I use Microsoft 365 Backup for my tenant; it's a simple way to back up Exchange, OneDrive, and
By: Harm Veenstra submitted:Aug 23 2024
I use Microsoft 365 Backup for my tenant; it's a simple way to back up Exchange, OneDrive, and
SharePoint data to an Azure Subscription. There was no PowerShell module to query and configure things, but that has changed because the Beta module was released three days ago. In this blog post, I will describe my first experience trying to use the new module.
By: Harm Veenstra submitted:Aug 23 2024
New MSIdentityTools Cmdlet to Report OAuth Permissions
(office365itpros.com)
The latest version of the MSIndentityTools PowerShell module includes the
By: Tony Redmond submitted:Feb 9 2024
The latest version of the MSIndentityTools PowerShell module includes the
Export-MsIdAppConsentGrantReport cmdlet to generate a report of OAuth app permissions. Allied with the ImportExcel module, the cmdlet can produce a very nice workbook containing lots of information about permissions held by the apps in a tenant. But even better, you can export the data to PowerShell and use it in your scripts.
By: Tony Redmond submitted:Feb 9 2024
Office 365 E-Mail forward attack via inboxrules in user mailboxes
(blog.it-koehler.com)
A customer called me two weeks ago, that he got the feedback from his customer that he is sending
By: Alexander Koehler submitted:Jun 15 2022
A customer called me two weeks ago, that he got the feedback from his customer that he is sending
some strange mails. So I had a look at the O365 security and clompliance center. After searching some reports I found out, that every E-Mail four users receive was redirected to a GMAIL address. The report also said that it was done with some inboxrules (the user never set up). Here some screenshots from the Azure Security Center and Compliance Center.
By: Alexander Koehler submitted:Jun 15 2022
OnedriveMapper 4.00 released
(lieben.nu)
With version 4.00 OnedriveMapper now fully supports 'Modern' Authentication
By: Jos Lieben submitted:Jun 16 2022
With version 4.00 OnedriveMapper now fully supports 'Modern' Authentication
By: Jos Lieben submitted:Jun 16 2022
Posting Notifications About Inactive Mailboxes to Teams
(office365itpros.com)
From: Tony RedmondRecently, I posted?a Petri.com article?to report the availability of some new
By: submitted:Jun 15 2022
From: Tony RedmondRecently, I posted?a Petri.com article?to report the availability of some new
properties in the?Export-MailboxDiagnosticLogs?cmdlet. The properties record different kinds of mailbox activity and I included a script to generate a report based on the properties. The output is a CSV file that can be opened in Excel or imported in Power BI. All is well.
By: submitted:Jun 15 2022
PowerShell for O365
(skillmeup.com)
In this course Liam will educate you on the details you need to know to be able to start writing
By: submitted:Jun 15 2022
In this course Liam will educate you on the details you need to know to be able to start writing
PowerShell for Office 365.
By: submitted:Jun 15 2022
PowerShell Paging in Microsoft 365
(powershellgeek.com)
Introduction You may have heard that things are better in the cloud, that they reduce your costs and
By: Damian Scoles submitted:Feb 10 2023
Introduction You may have heard that things are better in the cloud, that they reduce your costs and
time to manage. However, in order to achieve these benefits in a shared system, Microsoft has to make certain changes so that their systems are more efficient and cost effective, something they can then pass on to...
By: Damian Scoles submitted:Feb 10 2023
PowerShell Script to Simplify Send-MgUserMail
(powershellcenter.com)
Okay, Microsoft Graph API is cool, but sometimes it's boring to deal with all these hashtables and
By: Faris Malaeb submitted:Sep 9 2022
Okay, Microsoft Graph API is cool, but sometimes it's boring to deal with all these hashtables and
arrays. The Send-MgUserMail is a great graph cmdlet to send Emails using the Graph API endpoint, this post is fully explained in the Send-MgUserMail BodyParameter Explained. But going through these hashtables is a challenge, and its more complicated.
By: Faris Malaeb submitted:Sep 9 2022
PowerShell: A Microsoft 365 Admin Roles Membership Report
(techbloggingfool.com)
Manually reviewing the membership roster for each of the dozens of RBAC roles in a Microsft 365
By: Kevin Trent submitted:Aug 9 2024
Manually reviewing the membership roster for each of the dozens of RBAC roles in a Microsft 365
tenant is quite
By: Kevin Trent submitted:Aug 9 2024
Quickly exanding the booking window of all meeting rooms in Microsoft 365
(randriksen.net)
So I got a task to expand the booking window for all the meeting rooms at work. From the default 180
By: Ole submitted:Feb 9 2024
So I got a task to expand the booking window for all the meeting rooms at work. From the default 180
days to 365 days. This isn't anything big or complicated to do. It's an everyday task really. But I was wondering, how short can I make the PowerShell script to do this for all meeting rooms?
By: Ole submitted:Feb 9 2024
Reading, Rotating, and Reporting on LAPS and BitLocker in Intune and Entra with PowerShell
(deploymentresearch.com)
After the recent Crowdstrike Incident I've been thinking a lot about how to quickly perform LAPS and
By: Andrew Johnson submitted:Aug 2 2024
After the recent Crowdstrike Incident I've been thinking a lot about how to quickly perform LAPS and
BitLocker actions against remote devices, and report on their use primarily via Microsoft Graph and Intune. I work and talk with a lot of folks in highly distributed environments (thinking of you, all of my EDU friends!).
By: Andrew Johnson submitted:Aug 2 2024
Removing Duplicate Items from a Mailbox
(eightwone.com)
Updated Remove-DuplicateItems.ps1 script to v2.0, which now also supports OAuth authentication
By: Michel de Rooij submitted:Jun 16 2022
Updated Remove-DuplicateItems.ps1 script to v2.0, which now also supports OAuth authentication
methods.
By: Michel de Rooij submitted:Jun 16 2022
Removing Licenses from Entra ID Accounts When a Replacement License Exists
(office365itpros.com)
License management is a core competence for Microsoft 365 tenant administrators. This article
By: Tony Redmond submitted:Apr 19 2024
License management is a core competence for Microsoft 365 tenant administrators. This article
explains how to use PowerShell to remove licenses from accounts when an equivalent service plan is available from another license. It's the kind of fix-up operation that tenant administrators need to do on an ongoing basis.
By: Tony Redmond submitted:Apr 19 2024
Removing Licenses from Entra ID Accounts When a Replacement License Exists
(office365itpros.com)
License management is a core competence for Microsoft 365 tenant administrators. This article
By: Tony Redmond submitted:Apr 26 2024
License management is a core competence for Microsoft 365 tenant administrators. This article
explains how to use PowerShell to remove licenses from accounts when an equivalent service plan is available from another license. It's the kind of fix-up operation that tenant administrators need to do on an ongoing basis.
By: Tony Redmond submitted:Apr 26 2024
Replacing Send-MailMessage
(reddit.com)
A good discussion on Reddit about replacements for Send-MailMessage
By: r/PowerShell submitted:Jun 16 2022
A good discussion on Reddit about replacements for Send-MailMessage
By: r/PowerShell submitted:Jun 16 2022
Reporting OneDrive for Business Storage
(office365itpros.com)
A couple of years ago, retrieving information about OneDrive for Business sites with PowerShell
By: Tony Redmond submitted:Jun 15 2022
A couple of years ago, retrieving information about OneDrive for Business sites with PowerShell
usually involved some gyrations. Then Microsoft updated the Get-SPOSite cmdlet with the IncludePersonalSite switch and things became easier. For instance, a reader asked if it was possible to generate a report listing all the OneDrive for Business sites in a tenant with the storage allocated and used for each site. No problem, we thought, as we scanned the internet to see if people had already solved the problem. As it happens, several example scripts are available, but we ended up writing our own because it was possible to simplify the code . We also store the output in a CSV file as it's a very flexible format for reporting or further analysis (like importing into Power BI).
By: Tony Redmond submitted:Jun 15 2022
Restrict User Access to Azure AD PowerShell and MS Graph Explorer
(o365reports.com)
We all know that any user in Microsoft Entra ID can read the users' details and directory
By: Praba submitted:Apr 19 2024
We all know that any user in Microsoft Entra ID can read the users' details and directory
information using Entra ID portal, PowerShell, and Graph API Explorer. Although restricted from making changes, non-admins can still explore user information, group details, device details, etc.
By: Praba submitted:Apr 19 2024
Run reports on All users permissions in SharePoint Online with PowerShell
(chironusa.com)
If you are managing the SharePoint online environment there pretty high chances that you would need
By: Alex Pashkevych submitted:Jun 16 2022
If you are managing the SharePoint online environment there pretty high chances that you would need
to run the report on users who have access to the site / list / library and all sub-sites or sub-items. If you have a pretty complex structure of sites / lists and permissions you wouldn't like to spend all your time by manually going and checking permission. Also, if you don't have any reporting tools like ShareGate - PowerShell would be the best option here.
By: Alex Pashkevych submitted:Jun 16 2022
Send a mail using the current outlook user account without to provide credentials with PowerShell
(systanddeploy.com)
In this post I will show you how to send a mail using the current outlook user account without to
By: Damien Van Robaeys submitted:Jun 16 2022
In this post I will show you how to send a mail using the current outlook user account without to
provide credentials....
By: Damien Van Robaeys submitted:Jun 16 2022
Sending Email from Exchange Online Using the Microsoft Graph SDK for PowerShell
(practical365.com)
Recently, I've been exploring how to use the Microsoft Graph with PowerShell to automate some common
By: Tony Redmond submitted:Jun 16 2022
Recently, I've been exploring how to use the Microsoft Graph with PowerShell to automate some common
administrative tasks within Microsoft 365. Among the recent factors causing me to consider using Graph APIs with PowerShell are:
By: Tony Redmond submitted:Jun 16 2022
Set-OutlookSignatures
(github.com)
Centrally manage and deploy Outlook text signatures and Out of Office auto reply messages.
By: Markus Gruber submitted:Jun 16 2022
Centrally manage and deploy Outlook text signatures and Out of Office auto reply messages.
By: Markus Gruber submitted:Jun 16 2022
Three Ways to use PowerShell to Send a Welcome Message to New Office 365 Users
(office365itpros.com)
A recent appeal from a reader for a PowerShell script to send a welcome message to new people
By: Tony Redmond submitted:Jun 15 2022
A recent appeal from a reader for a PowerShell script to send a welcome message to new people
joining an Office 365 tenant forced me to think about the best solution. The issue isn't finding a script to do the job because there's plenty of scripts published in places like the TechNet Gallery
By: Tony Redmond submitted:Jun 15 2022
Top Ten PowerShell Tips for Microsoft 365 Management: Part Two
(practical365.com)
If you are stuck using your on-premises resources to manage a cloud infrastructure, it is an
By: Damian Scoles submitted:Jan 6 2023
If you are stuck using your on-premises resources to manage a cloud infrastructure, it is an
opportune time to change that with the availability of tools and functions that are now available. In this article, we focus on how to use PowerShell to manage Microsoft 365. In addition, we consider how to use cloud services to manage PowerShell code, testing, security controls, and more.
By: Damian Scoles submitted:Jan 6 2023
Track File Activities in SharePoint Online Using PowerShell
(o365reports.com)
Users are given access to files in the organization for various purposes, such as project
By: Sruthy submitted:Aug 2 2024
Users are given access to files in the organization for various purposes, such as project
collaboration, documents sharing, and accessing necessary resources for their roles. Based on the permissions granted, users can perform actions on files and folders such as deletion, download, modifying, and more.
By: Sruthy submitted:Aug 2 2024
Transferring Reusable PowerShell Objects Between Microsoft 365 Tenants
(office365itpros.com)
People often need to transfer objects or code between Microsoft 365 tenants. When it comes to
By: Tony Redmond submitted:Sep 6 2024
People often need to transfer objects or code between Microsoft 365 tenants. When it comes to
dealing with objects, the Microsoft Graph PowerShell SDK's ToJsonString method is very useful. The method outputs a string containing JSON content, but only for object properties that have a value. This makes the much easier to use the output as the basis for a template object or as the payload body to create an object in another tenant.
By: Tony Redmond submitted:Sep 6 2024
Unattended Authentication to Azure (YouTube)
(youtube.com)
A walkthrough of options for unattended authentication to Azure for automations. Covers managed
By: John Savill submitted:Jun 16 2022
A walkthrough of options for unattended authentication to Azure for automations. Covers managed
identity and service principals. Lots of demos including service principals with secrets and certificates with PowerShell. Concepts apply to AZ CLI as well.
By: John Savill submitted:Jun 16 2022
Unified PowerShell experience for Microsoft Graph
(myignite.techcommunity.microsoft.com)
Microsoft Graph provides access to a wide range of information belonging to you and your
By: Darrel Miller submitted:Jun 15 2022
Microsoft Graph provides access to a wide range of information belonging to you and your
organization. Currently PowerShell users do not have a unified experience for accessing all of Microsoft Graph. This session introduces our preview Microsoft Graph PowerShell module generated from Microsoft Graph metadata using the same technology the Azure team is using to build their management PowerShell modules. Come learn how you can quickly use this to do ad-hoc interrogation of Microsoft Graph data and also build scripts that can perform unattended processes on your organization's data.
By: Darrel Miller submitted:Jun 15 2022
Unveiling a new version of M365Documentation PowerShell Module: Creating Markdown Documentation with Ease
(wpninjas.ch)
The Microsoft 365 community has a reason to rejoice as a new release of the M365Documentation
By: Thomas Kurth submitted:Jul 28 2023
The Microsoft 365 community has a reason to rejoice as a new release of the M365Documentation
PowerShell module was published PowerShellGallery.com. With the latest update, users can now create comprehensive documentation in Markdown format, complete with an intuitive table of contents. This feature has been highly anticipated and requested by Read more
By: Thomas Kurth submitted:Jul 28 2023
Upgrading the Teams and Groups Activity Report to 6.0
(office365itpros.com)
The Teams and Groups activity report is a popular script that helps administrators identify inactive
By: Tony Redmond submitted:Jul 19 2024
The Teams and Groups activity report is a popular script that helps administrators identify inactive
teams and groups within a Microsoft 365 tenant. The script code has been developed over the years. The last version converted to Graph API requests to improve performance. This time, the upgrade is to use the Microsoft Graph PowerShell SDK to make the code easier to maintain.
By: Tony Redmond submitted:Jul 19 2024
Using Exchange Online PowerShell with Azure Automation Managed Identities
(practical365.com)
Microsoft doesn't support using an Azure Automation managed identity and Exchange Online PowerShell.
By: Tony Redmond submitted:Aug 26 2022
Microsoft doesn't support using an Azure Automation managed identity and Exchange Online PowerShell.
However, that doesn't mean the two can't work together. In this article we explore how to use Exchange Online PowerShell with Azure Automation while waiting for Microsoft to deliver a full solution.
By: Tony Redmond submitted:Aug 26 2022
Using PowerShell to Retrieve Exchange Mailbox Statistics for Office 365 Migrations
(mikefrobbins.com)
Recently, I've been working on trying to finish up a migration from Exchange Server 2010 to Office
By: Mike F Robbins submitted:Jun 15 2022
Recently, I've been working on trying to finish up a migration from Exchange Server 2010 to Office
365. There are potentially numerous mailboxes that aren't used and those won't be migrated to Office 365 because there's no sense in paying for licensing for them. How do you determine what mailboxes are in use?
By: Mike F Robbins submitted:Jun 15 2022
Using the Microsoft Graph PowerShell SDK to Generate a Mailbox Traffic Report
(practical365.com)
Microsoft 365 makes it easy for administrators to get mail activity usage data for users. However,
By: Tony Redmond submitted:Aug 11 2023
Microsoft 365 makes it easy for administrators to get mail activity usage data for users. However,
if you want to know which domains are sending most mail, you need to do some work. In this article, we cover how to use cmdlets from the Microsoft Graph PowerShell SDK to create reports about user mail activity over time and the traffic sent by different domains.
By: Tony Redmond submitted:Aug 11 2023
Version 1.9 of the Microsoft 365 Licensing Report
(office365itpros.com)
The Microsoft 365 Licensing Report is a popular PowerShell script that's just been updated to V1.9
By: Tony Redmond submitted:Jun 21 2024
The Microsoft 365 Licensing Report is a popular PowerShell script that's just been updated to V1.9
with a bunch of changes to highlight different aspects such as license costs for disabled user accounts and inactive user accounts. Copious use of some very dubious color choices makes the HTML report created by the script look very nice (if you're color blind) and the new version can generate an Excel worksheet.
By: Tony Redmond submitted:Jun 21 2024
Want to Use Exchange Online in Azure Cloud PowerShell?
(techcommunity.microsoft.com)
Let Michael Bender show you how to access the Exchange Online module easily, and begin working with
By: submitted:Jun 15 2022
Let Michael Bender show you how to access the Exchange Online module easily, and begin working with
your Exchange Online resources in Azure Cloud Shell.
By: submitted:Jun 15 2022