Azure AD
AAD Group Writeback Script
(github.com)
This repository contains a script that can take certain groups in an Azure Active Directory, defined
By: goodworkaround submitted:Jun 16 2022
This repository contains a script that can take certain groups in an Azure Active Directory, defined
by a scope, writing them back to onpremises Active Directory, including group memberships.
By: goodworkaround submitted:Jun 16 2022
Analyzing Azure Active Directory Sign-In Data with PowerShell
(petri.com)
The Azure Active Directory PowerShell module (now renamed the Azure Active Directory PowerShell for
By: Tony Redmond submitted:Jun 16 2022
The Azure Active Directory PowerShell module (now renamed the Azure Active Directory PowerShell for
Graph module) comes in two versions. The general availability version is intended for production while the preview version (AzureADPreview) contains the cmdlets from the general availability version plus some new cmdlets under development group. The current version of the AzureADPreview module is 2.0.2.105, released in July.
By: Tony Redmond submitted:Jun 16 2022
Automate and manage Azure AD tasks at scale with the Microsoft Graph PowerShell SDK
(techcommunity.microsoft.com)
If you're using the Azure AD PowerShell or MSOnline PowerShell modules to manage Azure AD, we
By: Alex Simons submitted:Jun 16 2022
If you're using the Azure AD PowerShell or MSOnline PowerShell modules to manage Azure AD, we
encourage you to try the Microsoft Graph PowerShell SDK. The Microsoft Graph PowerShell SDK is where all our current and future investments are being made.
By: Alex Simons submitted:Jun 16 2022
Automated Alerts on Azure (Entra ID) Application Secret Expirations
(thelazyadministrator.com)
Monitoring Azure AD (Entra ID now) application secret expirations in an enterprise is a critical
By: Brad Wyatt submitted:Jan 5 2024
Monitoring Azure AD (Entra ID now) application secret expirations in an enterprise is a critical
aspect of maintaining robust security and ensuring uninterrupted service. When application secrets expire without timely renewal, it can disrupt business operations by causing application failures. Proactive management of application secret expirations helps enterprises avoid last-minute issues, enabling a more secure and efficient operational environment.
By: Brad Wyatt submitted:Jan 5 2024
Automatic Azure AD Conditional Access Documentation
(wpninjas.ch)
Creating configuration documentations is always hassle. Therefore, I extended the Intune
By: Thomas Kurth submitted:Jun 16 2022
Creating configuration documentations is always hassle. Therefore, I extended the Intune
documentation with a new option to also document Azure AD Conditional Access policies.
By: Thomas Kurth submitted:Jun 16 2022
Azure AD Access Token Lifetimes and Long-running PowerShell Scripts
(office365itpros.com)
Sometimes, long running PowerShell scripts encounter the problem of Azure AD access token lifetime
By: Tony Redmond submitted:Jun 2 2023
Sometimes, long running PowerShell scripts encounter the problem of Azure AD access token lifetime
expiration. In other words, the default lifetime of tokens issued by Azure AD is too short to allow the script to complete before the token expires. Two solutions exist. Use a token lifetime policy to prolong access token lifetimes or check in code for potential expiration and renew when necessary.
By: Tony Redmond submitted:Jun 2 2023
Azure AD Authentication Methods Summary Reports using Microsoft Graph and PowerShell
(blog.darrenjrobinson.com)
Recently I wrote about reporting on individual Azure AD Users Authentication Methods using Microsoft
By: Darren Robinson submitted:Jun 16 2022
Recently I wrote about reporting on individual Azure AD Users Authentication Methods using Microsoft
Graph and PowerShell. Whilst this is great at a user level, Azure AD Authentication Methods Summary Reports at an organization level are often requested by IT Management. And whilst they can be obtained from the Azure Portal (Azure Active Directory > Security > Authentication Methods > Activity) how can we get them programmatically? In this post l will show how to extract Azure AD Authentication Methods Summary Reports using Microsoft Graph and PowerShell.
By: Darren Robinson submitted:Jun 16 2022
Azure AD Exporter
(github.com)
The Azure AD Exporter is a PowerShell module that allows you to export your Azure AD and Azure AD
By: Microsoft submitted:Sep 9 2022
The Azure AD Exporter is a PowerShell module that allows you to export your Azure AD and Azure AD
B2C configuration settings to local .json files.
By: Microsoft submitted:Sep 9 2022
Azure AD Graph Retirement and PowerShell Module Deprecation Updates
(techcommunity.microsoft.com)
tl;td you have until March 30, 2024. But still read the article to get full details on the
By: Kristopher Bash submitted:Jun 23 2023
tl;td you have until March 30, 2024. But still read the article to get full details on the
deprecation of the Azure AD and MS Online modules.
By: Kristopher Bash submitted:Jun 23 2023
Azure AD Incident Response PowerShell Module
(github.com)
The Azure Active Directory Incident Response PowerShell module provides a number of tools, developed
By: Azure Active Directory submitted:Aug 9 2024
The Azure Active Directory Incident Response PowerShell module provides a number of tools, developed
by the Azure Active Directory Product Group in conjunction with the Microsoft Detection and Response Team (DART), to assist in compromise response.
By: Azure Active Directory submitted:Aug 9 2024
Azure AD PowerShell Module Options
(youtube.com)
In this video I walk through the key modules that can be used to manage Azure AD with PowerShell
By: John Savill submitted:Jun 15 2022
In this video I walk through the key modules that can be used to manage Azure AD with PowerShell
including a look at the old and a focus on the new!
By: John Savill submitted:Jun 15 2022
Azure AD: How to set Maximum Devices per User
(sid-500.com)
The default value of the maximum number of devices per user in Azure AD is 50 devices. That is a
By: Patrick Gruenauer submitted:Apr 26 2024
The default value of the maximum number of devices per user in Azure AD is 50 devices. That is a
lot. If you want to restrict the number of devices then you came to the right place.
By: Patrick Gruenauer submitted:Apr 26 2024
AzureADAssessment
(github.com)
Hey AzureAD admins! Do you already know MSCloudIdUtils.psm1? It’s a PowerShell module with
By: submitted:Jun 15 2022
Hey AzureAD admins! Do you already know MSCloudIdUtils.psm1? It’s a PowerShell module with
helper functions to gather configuration information of your tenant e.g. logs and reports of licenses, apps (incl. expired secrets).
By: submitted:Jun 15 2022
AzureADGraphvizOrgChart
(github.com)
The script scans azure active directory and finds every user and their manager and arranges them in
By: rbarbrow submitted:Jun 16 2022
The script scans azure active directory and finds every user and their manager and arranges them in
a hierarchy that is then created in a visual org chart using a program called GraphViz
By: rbarbrow submitted:Jun 16 2022
AzureADStuff 1.0.10
(powershellgallery.com)
Various Azure AD related functions.
By: Andrew Ztrhgf submitted:Jun 16 2022
Various Azure AD related functions.
By: Andrew Ztrhgf submitted:Jun 16 2022
Backup and restore Conditional access policies with PowerShell
(4bes.nl)
Since the summer of 2020, the AzureAD PowerShell module provides cmdlets that can help you manage
By: Barbara Forbes submitted:Jun 16 2022
Since the summer of 2020, the AzureAD PowerShell module provides cmdlets that can help you manage
Conditional access policies. This can give you some nice options to backup, document and restore Conditional access policies. In my opinion, the PowerShell cmdlets aren't all that intuitive, which is the reason I want to show in this post how to backup and restore Conditional Access Policies with PowerShell.
By: Barbara Forbes submitted:Jun 16 2022
Check if Azure AD Users exists PowerShell function
(blog.it-koehler.com)
When scripting with cloud users in AzureAD some people might ask how to check if an Azure AD user is
By: Alexander Koehler submitted:Jun 16 2022
When scripting with cloud users in AzureAD some people might ask how to check if an Azure AD user is
available or not. I also had to challenge this scenario while scripting for a customer. After this I thought this is something many people may need. So here is my solution with some explanation to use it in your own script.
By: Alexander Koehler submitted:Jun 16 2022
Collecting AzureAD User Authentication Method Information
(verboon.info)
Hello everyone, last Friday I received an e-mail from one of my customers, asking how to identify
By: Alex Verboon submitted:Jun 16 2022
Hello everyone, last Friday I received an e-mail from one of my customers, asking how to identify
users in AzureAD that have enabled passwordless sign-in with the Microsoft Authenticator app. Previously I usually made use of the Script for Azure MFA authentication method analysis but that script uses the MSOnline PowerShell mode where the Get-Msoluser cmdlet doesn't expose the information about these newer Authentication Methods.
By: Alex Verboon submitted:Jun 16 2022
Create advanced dynamic groups with PowerShell & Azure Functions
(powers-hell.com)
Creating advanced dynamic groups for MS Intune with PowerShell and Azure Functions
By: Ben Reader submitted:Jun 16 2022
Creating advanced dynamic groups for MS Intune with PowerShell and Azure Functions
By: Ben Reader submitted:Jun 16 2022
Delete Device Records in AD / AAD / Intune / Autopilot / ConfigMgr with PowerShell smsagent
(smsagent.blog)
I've done a lot of testing with Windows Autopilot in recent times. Most of my tests are done in
By: Trevor Jones submitted:Jun 16 2022
I've done a lot of testing with Windows Autopilot in recent times. Most of my tests are done in
virtual machines, which are ideal as I can simply dispose of them after. But you also need to cleanup the device records that were created in Azure Active Directory, Intune, the Autopilot registration service, Microsoft Endpoint Manager (if you're using it) and Active Directory in the case of Hybrid-joined devices.
By: Trevor Jones submitted:Jun 16 2022
Deploying AAD branding to all clients
(cyberdrain.com)
The following script changes the branding text, it's also easy to adapt the script to update the
By: Kelvin Tegelaar submitted:Jun 16 2022
The following script changes the branding text, it's also easy to adapt the script to update the
images, the logos, or even help with localization. To check out all the options I suggest grabbing the documentation by Microsoft here. Remember that you need a P1 subscription or higher for branded portals.
By: Kelvin Tegelaar submitted:Jun 16 2022
Deprecation of MSOnline
(techcommunity.microsoft.com)
Just a reminder that MSOnline versions prior to v1.1.166.0 will stop working in 1 week.
By: Microsoft submitted:Jun 21 2024
Just a reminder that MSOnline versions prior to v1.1.166.0 will stop working in 1 week.
By: Microsoft submitted:Jun 21 2024
Enabling MFA with Web-Sign in for Windows Devices
(cyberdrain.com)
Microsoft has introduced web sign-in some months ago as an alternative way to log into Windows. Web
By: Kelvin Tegelaar submitted:Jun 16 2022
Microsoft has introduced web sign-in some months ago as an alternative way to log into Windows. Web
Sign-in allows you to sign in using your M365 credentials and multifactor authentication token, or using a Azure AD Temporary Access Pass. Web-Sign in is pretty cool as users get presented with a modern authentication pop-up dialog when signing in, the same one they are used to seeing when logging into the Office suite applications.
By: Kelvin Tegelaar submitted:Jun 16 2022
Entra ID Captures Timestamp for Last Successful Sign In for User Accounts
(office365itpros.com)
Entra ID captures the lastSuccessfulSignInDateTime property to record the last successful sign-in
By: Tony Redmond submitted:Dec 8 2023
Entra ID captures the lastSuccessfulSignInDateTime property to record the last successful sign-in
action against user accounts. The new property is available through the Graph beta endpoint. Quite a difference can exist between the last successful sign in and the last sign in, as explored in this article.
By: Tony Redmond submitted:Dec 8 2023
Entra ID Tenant ID & Custom Domains PowerShell Module
(blog.darrenjrobinson.com)
Buried in my PowerShell Snippets Vol 4 post from 2021 is the PowerShell script and a link to a
By: Darren Robinson submitted:Jul 21 2023
Buried in my PowerShell Snippets Vol 4 post from 2021 is the PowerShell script and a link to a
PowerShell Module I authored named AzureADTenantID. Its sole purpose was to take a domain name (e.g., darrenjrobinson.com) and lookup return any associated Azure AD (now Entra ID) TenantID.... keep reading
By: Darren Robinson submitted:Jul 21 2023
Entra Insights and Merill Fernando’s Toolbox: Powering the Community
(powershellpodcast.podbean.com)
In this episode of the PowerShell Podcast, we had an enlightening conversation with Merill Fernando,
By: The Powershell Podcast submitted:Nov 10 2023
In this episode of the PowerShell Podcast, we had an enlightening conversation with Merill Fernando,
a Principal Product Manager on Microsoft's Entra team. Our discussion unveiled an in-depth look at Microsoft Entra, providing listeners with tips and tricks. Merill generously shared his journey in becoming a PM, emphasizing the pivotal role of learning and sharing knowledge within our tech community. We also delved into the emerging importance of transitioning from the AzureAD module towards a more streamlined approach using Graph. Not to miss, Merill spotlighted his widely acclaimed tools such as [akasearch.net](http://akasearch.net), idPowerToys, and entra. news, and more, opening up an array of exciting possibilities for our listeners. Join us as we explore these topics and a whole lot more in yet another riveting session of the PowerShell Podcast.
By: The Powershell Podcast submitted:Nov 10 2023
EntraFIDOFinder – New PowerShell Module
(clatent.com)
After so much interest from my post on Friday, I figured I'd do one better and make a PowerShell
By: Clayton Tyger submitted:Oct 4 2024
After so much interest from my post on Friday, I figured I'd do one better and make a PowerShell
module that does it for you. So now you will be able to find which FIDO2 keys are attestation compatible with Entra right from your terminal. In the very near future I will have individual functions
By: Clayton Tyger submitted:Oct 4 2024
Export Microsoft 365 Inactive User Report using MS Graph PowerShell
(o365reports.com)
Microsoft 365 admins often check the last logon time to generate inactive users report. This report
By: Kavya June submitted:Jun 23 2023
Microsoft 365 admins often check the last logon time to generate inactive users report. This report
plays a crucial role in effectively managing user accounts, optimizing licenses, enhancing security, and meeting compliance requirements. So, let's see how to check inactive users
By: Kavya June submitted:Jun 23 2023
Finding Azure AD Users with Admin Roles Not Protected with MFA
(office365itpros.com)
Some great developments in Azure AD recently and strong evidence to use MFA everywhere. Here’s
By: submitted:Jun 15 2022
Some great developments in Azure AD recently and strong evidence to use MFA everywhere. Here’s
how to use PowerShell find accounts that have an Office365 Admin role that don’t use MFA.
By: submitted:Jun 15 2022
Finding Stale Azure AD B2B Guest Accounts based on lastSignInDateTime – darrenjrobinson – Bespoke Identity and Access Management Solutions
(blog.darrenjrobinson.com)
Collaboration between Azure Active Directory tenants typically involves Azure AD Guest accounts.
By: Darren Robinson submitted:Jun 16 2022
Collaboration between Azure Active Directory tenants typically involves Azure AD Guest accounts.
After a few years, the proliferation of 'Guest' accounts usually becomes a focus, especially for larger tenants. As Azure AD has matured the meta data associated with accounts, along with Microsoft Graph improvements is making it easier to define and locate stale Azure AD B2B Guest Accounts. In this post I investigate Azure AD with Microsoft Graph API's to find stale Azure AD B2B Guest Accounts.
By: Darren Robinson submitted:Jun 16 2022
Get Application Certificate and Secret Expiration with Graph API
(thesysadminchannel.com)
In the world of Azure cloud automation we always need to ensure that our accounts are able to
By: Paul Contreras submitted:Jan 20 2023
In the world of Azure cloud automation we always need to ensure that our accounts are able to
properly authenticate. Accounts with username and password might have Active Directory alert you when your password expires, however, what can we use...
By: Paul Contreras submitted:Jan 20 2023
Get Azure Conditional Access Policy Changes using PowerShell
(thesysadminchannel.com)
I always find it very helpful to be able to use Powershell to automate whatever task needs
By: Paul Contreras submitted:Jun 16 2022
I always find it very helpful to be able to use Powershell to automate whatever task needs
automating. Knowing how to automate is truly one of the most versatile skills you can have as a Systems Engineer and today I'm going to share a script I wrote to be able to get azure conditional access policy changes using Powershell.
By: Paul Contreras submitted:Jun 16 2022
Get Per-User MFA Status using PowerShell
(thesysadminchannel.com)
There are a ton of scripts out there that show you if the user has MFA enabled by checking their
By: Paul Contreras submitted:Jun 16 2022
There are a ton of scripts out there that show you if the user has MFA enabled by checking their
authentication methods, something very similar to this Get MFA Methods using Graph API script I wrote a while back. However, I haven't really seen a script to show me what their per-user MFA status is.
By: Paul Contreras submitted:Jun 16 2022
Get-AadJoinInformation.ps1
(gist.github.com)
Get Azure AD (Entra ID) Join Information without dsregcmd
By: Marc-André Moreau submitted:Aug 11 2023
Get Azure AD (Entra ID) Join Information without dsregcmd
By: Marc-André Moreau submitted:Aug 11 2023
Get-DSREGCMDStatus
(powershellgallery.com)
Simple script to format DSREGCMD /Status output
By: Adam Gross submitted:Jun 16 2022
Simple script to format DSREGCMD /Status output
By: Adam Gross submitted:Jun 16 2022
GetMFAStatusReport.ps1
(github.com)
Export Office 365 users' MFA status using Microsoft Graph PowerShell
By: O365Reports.com submitted:Jun 16 2022
Export Office 365 users' MFA status using Microsoft Graph PowerShell
By: O365Reports.com submitted:Jun 16 2022
How To Connect To Microsoft Graph API Using PowerShell
(thesysadminchannel.com)
Microsoft has confirmed on multiple occasions that the Azure AD Graph Endpoint is deprecated and
By: Paul Contreras submitted:Jun 16 2022
Microsoft has confirmed on multiple occasions that the Azure AD Graph Endpoint is deprecated and
will fully be decommissioned on June 30, 2022.
By: Paul Contreras submitted:Jun 16 2022
How to Create an Azure AD App Registration
(techcommunity.microsoft.com)
Azure Active Directory (Azure AD) is Microsoft’s fully managed multi-tenant identity and
By: submitted:Jun 15 2022
Azure Active Directory (Azure AD) is Microsoft’s fully managed multi-tenant identity and
access capabilities for app service. More organizations are now harnessing the security capabilities of Azure AD into the apps they create for an additional layer of authentication. This post will cover how to register an app to Azure AD via PowerShell to take advantage of this.
By: submitted:Jun 15 2022
How to Create Azure Service Principals in PowerShell
(adamtheautomator.com)
Learn how to create Azure service principals using PowerShell, enabling secure automation for
By: Adam Bertram submitted:Oct 4 2024
Learn how to create Azure service principals using PowerShell, enabling secure automation for
managing Azure resources like virtual machines.
By: Adam Bertram submitted:Oct 4 2024
How to Create Dynamic Administrative Units with PowerShell
(office365itpros.com)
A reader asked how they could create dynamic administrative units for every department in their
By: Tony Redmond submitted:Sep 29 2023
A reader asked how they could create dynamic administrative units for every department in their
directory. A PowerShell script does the job, even if some constraints in how Entra ID processes membership rules means that the rules can't be quite as precise as I would like them to be.
By: Tony Redmond submitted:Sep 29 2023
How To Deploy a Complete Entra ID Conditional Access PoC in Under 5 Minutes
(danielchronlund.com)
This is by far the most substantial time saving tool I've ever shared with the community. From my
By: Daniel Chronlund submitted:Sep 29 2023
This is by far the most substantial time saving tool I've ever shared with the community. From my
many years of working with Conditional Access deployments, baselines, and automation tools, I wanted to package all that knowledge, experience, and best-practices, in a singel fully automated PowerShell tool.
By: Daniel Chronlund submitted:Sep 29 2023
How to Monitor New Members Added to Teams
(office365itpros.com)
I was asked how easy it would be to write a PowerShell script to monitor new teams members and
By: Tony Redmond submitted:Sep 29 2023
I was asked how easy it would be to write a PowerShell script to monitor new teams members and
reject any additions that met specific criteria. Easy, we said, so we set to creating a script to interrogate the unified audit log to find new member events. Once that was done, it's a matter of analyzing the events to find if we should reject the addition of any of the added members.
By: Tony Redmond submitted:Sep 29 2023
How to Report Expiring Credentials for Entra ID Apps
(office365itpros.com)
Entra ID registered apps can authenticate using app secrets and certificates. These credentials
By: Tony Redmond submitted:Jan 19 2024
Entra ID registered apps can authenticate using app secrets and certificates. These credentials
expire over time, so it's good to review app credential expiration dates periodically. This article explains how to use the Microsoft Graph PowerShell SDK to generate a report about app credential expiration dates to allow tenant administrators to manage registered apps a little better...
By: Tony Redmond submitted:Jan 19 2024
How to Revoke Azure Active Directory Tokens from Expired Users
(biztechmagazine.com)
Do you have an on-premises Active Directory environment syncing to Azure Active Directory? If so,
By: Adam Bertram submitted:Jun 16 2022
Do you have an on-premises Active Directory environment syncing to Azure Active Directory? If so,
you may have run across a frustrating problem: An on-premises AD user license has expired but that user can still access resources on Azure AD. As long as you're on a Windows 10 computer with the Remote Server Administration Tools and the Azure PowerShell module installed, you can remedy this security risk by finding all expired AD accounts and revoking them.
By: Adam Bertram submitted:Jun 16 2022
How to Revoke Azure AD Tokens from Expired AD Users
(adamtheautomator.com)
Do you have an on-prem Active Directory (AD) environment and syncing to Azure Active Directory (AD)?
By: Adam Bertram submitted:Jun 15 2022
Do you have an on-prem Active Directory (AD) environment and syncing to Azure Active Directory (AD)?
If so, you may have run across a frustrating problem - an on-prem AD user has expired but that user can still access resources protected with Azure AD.
By: Adam Bertram submitted:Jun 15 2022
How to Update Tenant Corporate Branding for the Entra ID Sign-in Screen with PowerShell
(office365itpros.com)
The ability to apply custom corporate branding for Entra Id screens has existed since 2020. You can
By: Tony Redmond submitted:Jan 26 2024
The ability to apply custom corporate branding for Entra Id screens has existed since 2020. You can
update elements through the admin center or PowerShell. This article explains how to use the Microsoft Graph PowerShell SDK to customize the sign-in text and background image for the sign-in screen.
By: Tony Redmond submitted:Jan 26 2024
How to use Managed Identity to connect to Azure, Exchange, Graph, Intune,… in Azure Automation Runbook
(doitpsway.com)
Managed Identity is definitely a better option for authentication in Azure Automation Runbooks than
By: Ondrej Sebela submitted:Jun 16 2022
Managed Identity is definitely a better option for authentication in Azure Automation Runbooks than
RunAs account because it doesn't require certificate/secret renewal. Therefore it is maintenance-free.
By: Ondrej Sebela submitted:Jun 16 2022
How to Use PowerShell to Retrieve Permissions for Entra ID Apps
(office365itpros.com)
Recent attacker activity made me think that access might have been gained through an OAuth app.
By: Tony Redmond submitted:Jan 26 2024
Recent attacker activity made me think that access might have been gained through an OAuth app.
Keeping an eye on app permissions is important. From a PowerShell perspective, it is reasonably straightforward to retrieve details of app permissions using the Microsoft Graph PowerShell SDK. Several methods are available to do the job.
By: Tony Redmond submitted:Jan 26 2024
Interactive Authentication to Microsoft Graph using MSAL with PowerShell and Delegated Permissions – darrenjrobinson – Bespoke Identity and Access Management Solutions
(blog.darrenjrobinson.com)
Previously I've written about using MSAL and PowerShell with Application Permissions and Client
By: Darren Robinson submitted:Jun 16 2022
Previously I've written about using MSAL and PowerShell with Application Permissions and Client
Credentials and Certificate based authentication. Also with Delegated Permissions and Device Code flow authentication. The one I haven't written a post on is performing interactive authentication to Microsoft Graph using MSAL with PowerShell and Delegated Permissions. I have for Python so this post will complete the examples for both Python and PowerShell.
By: Darren Robinson submitted:Jun 16 2022
Introducing the Microsoft Entra PowerShell module
(techcommunity.microsoft.com)
Microsoft Entra PowerShell is a new scenario-focused PowerShell module for the Microsoft Entra
By: Stefan Stranger submitted:Jun 28 2024
Microsoft Entra PowerShell is a new scenario-focused PowerShell module for the Microsoft Entra
product family.
By: Stefan Stranger submitted:Jun 28 2024
Manage Groups using Azure Active Directory PowerShell for Graph
(rebeladmin.com)
A step-by-step guide to managing groups using Azure Active Directory PowerShell for Graph module
By: submitted:Jun 15 2022
A step-by-step guide to managing groups using Azure Active Directory PowerShell for Graph module
By: submitted:Jun 15 2022
Managing Passwords for Entra ID Accounts with PowerShell
(office365itpros.com)
Password profiles store the password settings for Entra ID user accounts. By updating the password
By: Tony Redmond submitted:Jan 12 2024
Password profiles store the password settings for Entra ID user accounts. By updating the password
profile, you can update an account's password and force actions like force the user to change their password on the next sign-in or force the user to enable multifactor authentication for the account. All done with cmdlets from the Microsoft Graph PowerShell SDK.
By: Tony Redmond submitted:Jan 12 2024
Microsoft Entra PowerShell module, successor to the Azure AD PowerShell module
(4sysops.com)
The Microsoft Entra PowerShell module is the successor to the Azure AD PowerShell module. It's
By: Vignesh Mudliar submitted:Aug 2 2024
The Microsoft Entra PowerShell module is the successor to the Azure AD PowerShell module. It's
designed to streamline management and automation for the Microsoft Entra product family, which includes the services formerly known as Azure Active Directory.
By: Vignesh Mudliar submitted:Aug 2 2024
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
Microsoft Graph: Get group info
(ingogegenwarth.wordpress.com)
In my daily work, I often have to deal with topics, where I need to collect more information about a
By: Ingo Gegenwarth submitted:Jun 16 2022
In my daily work, I often have to deal with topics, where I need to collect more information about a
group. Yes, the new UI in the AAD portal helps, but doesn't provide all the information. On the other side there are a ton of PowerShell modules e.g.: MSOL, AzureAD or AzureADPreview.
By: Ingo Gegenwarth submitted:Jun 16 2022
Microsoft Sets March 2024 Date for Retirement of Old Azure AD PowerShell Modules
(practical365.com)
After much humming and hawing, Microsoft reset the retirement date for several old Azure AD modules
By: Tony Redmond submitted:Jun 16 2023
After much humming and hawing, Microsoft reset the retirement date for several old Azure AD modules
to March 30, 2024. The nine-month extension is there to help customers convert scripts to use the Microsoft Graph PowerShell SDK or Graph API requests. On the upside, the extra time is good as it creates space to migrate scripts. On the downside, there's still some challenges in converting from the old Azure AD modules.
By: Tony Redmond submitted:Jun 16 2023
Microsoft.Graph.API Module
(github.com)
I have created a module around Microsoft Graph REST API. I've been using the Graph API for awhile
By: Bas Wijdenes submitted:Jun 16 2022
I have created a module around Microsoft Graph REST API. I've been using the Graph API for awhile
now, but always in separate functions.
By: Bas Wijdenes submitted:Jun 16 2022
Migrate Your Script from AzureAD or MSOnline to Graph API
(powershellcenter.com)
No one can deny the superior help of AzureAD and MSOL PowerShell modules and how these two made
By: Faris Malaeb submitted:Aug 12 2022
No one can deny the superior help of AzureAD and MSOL PowerShell modules and how these two made
cloud management easy and simple. But the end for these two modules is nearby, and the direction is the Graph API. So why not start now and learn what you need to know to migrate your PowerShell [.]
By: Faris Malaeb submitted:Aug 12 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
Monitoring with PowerShell: Monitoring MFA Usage
(cyberdrain.com)
So I've blogged about this before too, but times change and monitoring MFA usage is becoming a
By: Kelvin Tegelaar submitted:Jun 16 2022
So I've blogged about this before too, but times change and monitoring MFA usage is becoming a
little more difficult . Microsoft allows per-user MFA, Security Defaults, and Conditional Access all to be used concurrently. I've created this monitoring script that returns which users seem to fall out of any Multi-factor authentication scope, and also reports what type of authentication is currently active on the tenant. Using the normal PowerShell methods you can only find if a user has per-user MFA enabled, if a user uses Conditional Access or Security Defaults it shows the per-user MFA state as disabled, which is a little annoying.
By: Kelvin Tegelaar submitted:Jun 16 2022
MSIdentityTools PowerShell Module 2.0.58 released
(blog.icewolf.ch)
Just a few Hours ago, Microsoft has released a new Version of MSIdentityTools PowerShell Module
By: Andres Bohren submitted:May 31 2024
Just a few Hours ago, Microsoft has released a new Version of MSIdentityTools PowerShell Module
By: Andres Bohren submitted:May 31 2024
My Azure AD has been breached! What now?
(danielchronlund.com)
In the cloud, we are all under attack, every day, every minute! In the spirit of zero trust we
By: Daniel Chronlund submitted:Jun 16 2022
In the cloud, we are all under attack, every day, every minute! In the spirit of zero trust we
should always assume breach. The attack will come and it can strike from any direction - the Internet, on-prem, BYOD, etc. The first thing an organisation experiences after the fact is often confusion, fear, and panic. Not the best mix of feelings to have while trying to sort things out! Most organisations don't have a clear plan of what to do next.
By: Daniel Chronlund submitted:Jun 16 2022
New version of MGNestedGroups
(randriksen.net)
I've just released a new version of my MGNestedGroups module. It's a pretty niche module, but it's
By: Ole submitted:Nov 3 2023
I've just released a new version of my MGNestedGroups module. It's a pretty niche module, but it's
something I've found usefull at work, so I've improved it a little bit now.
By: Ole submitted:Nov 3 2023
Office 365 Offboarding Script
(reddit.com)
reclaim license, convert mailbox to shared, set OOO
By: u/np05573 submitted:Jun 16 2022
reclaim license, convert mailbox to shared, set OOO
By: u/np05573 submitted:Jun 16 2022
One-Liner Wednesday August 2, 2023
(clatent.com)
Have you ever needed to create multiple 365 Groups/Security/Distribution at one time?
By: Clayton Tyger submitted:Aug 4 2023
Have you ever needed to create multiple 365 Groups/Security/Distribution at one time?
By: Clayton Tyger submitted:Aug 4 2023
PowerShell Cheat Sheet: Connect to Microsoft Cloud Services
(sid-500.com)
Az, AzureAD, Exchange, MSTeams
By: Patrick Gruenauer submitted:Jun 16 2022
Az, AzureAD, Exchange, MSTeams
By: Patrick Gruenauer submitted:Jun 16 2022
PowerShell Community Textbook Update: To be released this weekend!
(reddit.com)
Gday Everyone,
By: u/PowerShellMichael submitted:Sep 23 2022
Gday Everyone,
By: u/PowerShellMichael submitted:Sep 23 2022
PowerShell sample for Privileged Identity Management (PIM)
(anujchaudhary.com)
How cool would it be if I can use the MSGraph PIM api's to build custom applications. For example,
By: Anuj Chaudhary submitted:Jun 16 2022
How cool would it be if I can use the MSGraph PIM api's to build custom applications. For example,
your IT Org has N different resource groups where you want to activate every day. It would be time consuming to activate them one by one. Instead, you can build a custom app using PowerShell or UI so that you can activate to all of these resource groups in one shot.
By: Anuj Chaudhary submitted:Jun 16 2022
PowerShell: Report On-Premises Active Directory Accounts that are Synchronized with Azure AD Connect
(techbloggingfool.com)
Organizations that subscribe to Microsoft 365 and also have on-premises IT infrastructure, tend to
By: Kevin Trent submitted:Aug 4 2023
Organizations that subscribe to Microsoft 365 and also have on-premises IT infrastructure, tend to
synchronize accounts from their local Active
By: Kevin Trent submitted:Aug 4 2023
Query Azure AD logs with KQL from Powershell
(learningbydoing.cloud)
Kusto Query Language (KQL) is a powerfull tool to query Azure AD log entries from Log Anayltics in
By: Stian A. Strysse submitted:Sep 2 2022
Kusto Query Language (KQL) is a powerfull tool to query Azure AD log entries from Log Anayltics in
Azure. See how you can query log data using Powershell.
By: Stian A. Strysse submitted:Sep 2 2022
Recovering Deleted Groups with the Graph PowerShell SDK
(office365itpros.com)
This article describes how to restore deleted Azure AD groups with PowerShell using cmdlets from the
By: Tony Redmond submitted:Jan 6 2023
This article describes how to restore deleted Azure AD groups with PowerShell using cmdlets from the
Microsoft Graph PowerShell SDK. Although options exist in the Microsoft 365 admin center and Azure AD admin center to restore deleted groups, it's nice to have the option to do the same with PowerShell.
By: Tony Redmond submitted:Jan 6 2023
Remove a User from an Azure Resource Group Role with PowerShell and Azure Rest API
(techguy.at)
In this post, I want to show you how to remove a User from an Azure Role in Azure Resource Group
By: Michael Seidl submitted:Sep 22 2023
In this post, I want to show you how to remove a User from an Azure Role in Azure Resource Group
with PowerShell using Azure Rest API.
By: Michael Seidl submitted:Sep 22 2023
Reporting Entra ID Admin Consent Requests
(office365itpros.com)
A question came in about how to report admin consent requests as viewed through the Entra ID admin
By: Tony Redmond submitted:Jan 5 2024
A question came in about how to report admin consent requests as viewed through the Entra ID admin
center. PowerShell does the trick, once you know how. The key thing is to find the right cmdlet to use. Once you know that, the rest is pretty easy as we explain in this article.
By: Tony Redmond submitted:Jan 5 2024
Reporting Microsoft Entra ID Administrative Units
(practical365.com)
Microsoft Entra administrative units are gaining in popularity. Restricted administrative units are
By: Tony Redmond submitted:Jul 21 2023
Microsoft Entra administrative units are gaining in popularity. Restricted administrative units are
now available and many Purview solutions support administrative units. In this article, we explain how to use Microsoft Graph PowerShell SDK cmdlets to create a report about administrative units, role assignments for their management, and their membership.
By: Tony Redmond submitted:Jul 21 2023
Reporting Operating System Versions for Azure AD Registered Devices
(office365itpros.com)
Azure AD registered devices store some information about the operating system and version used when
By: Tony Redmond submitted:Feb 3 2023
Azure AD registered devices store some information about the operating system and version used when
registration occurs. Although this information changes over time and isn't updated by Azure AD, it might be of some interest and use to tenant administrators, so we show how to report it here. If you want accurate information, you'll need to use Intune.
By: Tony Redmond submitted:Feb 3 2023
Reporting User and Group Assignments for Enterprise Applications
(office365itpros.com)
A reader asked how to report user and group assignments for enterprise apps. As it turns out, this
By: Tony Redmond submitted:Dec 1 2023
A reader asked how to report user and group assignments for enterprise apps. As it turns out, this
isn't particularly difficult, if you know where to look. Our script uses the Graph SDK to check service principals, filters out the apps to check, and extracts the user and group assignments before reporting what it finds.
By: Tony Redmond submitted:Dec 1 2023
Restrict non-admin access to the Microsoft Entra portal with PowerShell
(ourcloudnetwork.com)
Learn how to restrict non-admin users access to the Microsoft Entra admin portal using Microsoft
By: Daniel Bradley submitted:Nov 8 2024
Learn how to restrict non-admin users access to the Microsoft Entra admin portal using Microsoft
Graph PowerShell.
By: Daniel Bradley submitted:Nov 8 2024
Step-by-Step Guide: Manage Users using Azure Active Directory PowerShell for Graph module
(rebeladmin.com)
Check out Eugen’s great step-by-step guide for manage users using Azure Active Directory
By: submitted:Jun 15 2022
Check out Eugen’s great step-by-step guide for manage users using Azure Active Directory
PowerShell for Graph module. It provides you everything you need to know to get started, quickly and easily.
By: submitted:Jun 15 2022
The Right Way to Revoke Access from Azure AD Accounts with PowerShell
(office365itpros.com)
The Microsoft Graph PowerShell SDK includes two cmdlets to revoke access for Azure AD accounts. As
By: Tony Redmond submitted:Apr 21 2023
The Microsoft Graph PowerShell SDK includes two cmdlets to revoke access for Azure AD accounts. As
it turns out, Microsoft would prefer if developers use the Revoke-MgUserSignInSession cmdlet instead of Invoke-MgInvalidateUserRefreshToken, but who would have known if we hadn't asked the question?
By: Tony Redmond submitted:Apr 21 2023
Time Running Out for Azure AD and MSOL PowerShell Modules
(office365itpros.com)
Knowledge that Microsoft had plans for Azure AD PowerShell deprecation has been around for a couple
By: Tony Redmond submitted:Apr 7 2023
Knowledge that Microsoft had plans for Azure AD PowerShell deprecation has been around for a couple
of years. Now the time has come when things happen. Cmdlets that set licenses for Azure AD accounts are now retired and will stop working on or before June 30, 2023. If you haven't already upgraded scripts, it's time to do so.
By: Tony Redmond submitted:Apr 7 2023
Updated Version of the Graph User Statistics Script Available
(office365itpros.com)
Last June, I wrote about a PowerShell script to interrogate the Microsoft Graph to retrieve usage
By: Tony Redmond submitted:Jun 16 2022
Last June, I wrote about a PowerShell script to interrogate the Microsoft Graph to retrieve usage
data from workloads like Exchange Online, SharePoint Online, and Teams. Some of this data is available via PowerShell cmdlets like Get-ExoMailboxStatistics and Get-SPOSite, but using the Graph is usually faster.
By: Tony Redmond submitted:Jun 16 2022
Updating Extension Attributes for Azure AD Registered Devices with the Microsoft Graph PowerShell SDK
(office365itpros.com)
Azure AD registered devices have 15 extension attributes that tenants can use for their own
By: Tony Redmond submitted:Sep 9 2022
Azure AD registered devices have 15 extension attributes that tenants can use for their own
purposes. In this article, we explore how to use the Microsoft Graph PowerShell SDK to update extension attributes for registered devices, and even better, access the content in the extension attributes afterward.
By: Tony Redmond submitted:Sep 9 2022
Use Azure Automation and PowerShell to Create a Daily Microsoft Entra Risk Report
(practical365.com)
In this article, Sean McAvinue explains how to use PowerShell and Azure Automation runbook to create
By: Sean McAvinue submitted:Jan 26 2024
In this article, Sean McAvinue explains how to use PowerShell and Azure Automation runbook to create
a Daily Microsoft Entra Risk Report.
By: Sean McAvinue submitted:Jan 26 2024
Using PowerShell in Azure Active Directory to inspect App Service Principals!
(techcommunity.microsoft.com)
In this article I would like to share with you some experiences I have made with Azure Active
By: Tom Wechsler submitted:Jun 16 2022
In this article I would like to share with you some experiences I have made with Azure Active
Directory App Service Principals. Really nothing spectacular but I didn't want to keep it from you.
By: Tom Wechsler submitted:Jun 16 2022
Using Powershell to Investigate Azure Ad User Risks
(scriptingchris.tech)
In this post, I will explain how you can use the PowerShell SDK for Microsoft Graph to investigate
By: Christian Hojsager submitted:Jun 24 2022
In this post, I will explain how you can use the PowerShell SDK for Microsoft Graph to investigate
Risky Users in your Azure Active Directory. I will also show you how to use PowerShell to connect directly to the Microsoft Graph and query the data from there. Being able to query for riskDetections, risky users, and sign-ins, allows you to automate alerts or actions whenever a user gets flagged in your risk policy.
By: Christian Hojsager submitted:Jun 24 2022
Using PowerShell to Manage Azure AD Custom Security Attributes
(office365itpros.com)
Azure AD custom security attributes can mark user and service principal objects for special
By: Tony Redmond submitted:Nov 18 2022
Azure AD custom security attributes can mark user and service principal objects for special
processing, which is how the app filter for conditional access policies works. It's nice to be able to interact with data through PowerShell and the Microsoft Graph PowerShell SDK cmdlets support setting, updating, and retrieval of Azure AD custom security attributes. Everything works, but it's a pity that it's a little clunky.
By: Tony Redmond submitted:Nov 18 2022
Using the Microsoft Graph SDK for PowerShell with Azure Automation
(practical365.com)
In a previous article about using Azure Automation accounts and runbooks with the Exchange Online
By: Tony Redmond submitted:Jun 16 2022
In a previous article about using Azure Automation accounts and runbooks with the Exchange Online
management PowerShell module, in that article, I also explained how to use Graph API queries in a PowerShell script executed in a runbook.
By: Tony Redmond submitted:Jun 16 2022
WPF – Create AD/Azure User
(reddit.com)
Last week I created a minimalistic Create AD / Azure user script. Since then I have been asked to
By: Alan Newingham submitted:Jun 16 2022
Last week I created a minimalistic Create AD / Azure user script. Since then I have been asked to
make it easier to modify (Or more succinctly a Settings Page). This was a bit of work to think through. I am hoping someone might know of a more robust way to do what I am doing. This way I felt I could do with a bit of work. So I came up with two ways of implementing the same settings script.
By: Alan Newingham submitted:Jun 16 2022