Graph API
15 Most Useful MS Graph PowerShell Scripts for Microsoft 365 IT Pros
(o365reports.com)
Are you among the many admins preparing for the retirement of AzureAD and MSOnline PowerShell
By: Kavya submitted:Mar 29 2024
Are you among the many admins preparing for the retirement of AzureAD and MSOnline PowerShell
modules? Transitioning to MS Graph PowerShell can be daunting, especially when searching for equivalent cmdlets. But fret not! I've curated a collection of essential PowerShell scripts tailored to manage your Microsoft 365 environment, all powered...
By: Kavya submitted:Mar 29 2024
All About Pagination with the Graph and the Graph PowerShell SDK
(practical365.com)
When you're new to Graph API requests, you might not know pagination and end up retrieving less data
By: Tony Redmond submitted:Apr 5 2024
When you're new to Graph API requests, you might not know pagination and end up retrieving less data
from queries than is available. In this article, we explain how to use pagination to retrieve data using Graph queries and SDK cmdlets.
By: Tony Redmond submitted:Apr 5 2024
Automating Sign-In Analysis with PowerShell and Microsoft Graph
(hcritter.devdojo.com)
In this article, we'll walk through how to explore and analyze Conditional Access data in Microsoft
By: Christian Ritter submitted:Oct 25 2024
In this article, we'll walk through how to explore and analyze Conditional Access data in Microsoft
Entra using the Developer Tools in your browser. The purpose of this walkthrough is to demonstrate how you can identify and extract the necessary Microsoft Graph API calls directly from the Entra portal, providing a foundation for automating this process with PowerShell.
By: Christian Ritter submitted:Oct 25 2024
Centrally Manage Company Contacts and Deploy to Built-In Contacts App Using Intune, SharePoint, PowerShell and Graph API.
(thelazyadministrator.com)
I recently met with a company that was looking for a better way to get contacts to their employee's
By: Brad Wyatt submitted:Sep 22 2023
I recently met with a company that was looking for a better way to get contacts to their employee's
work phones. Currently, they are sending a .vcf file and then having the employees manually save the contacts. While this works, the problem is if you need to send a new contact, you now need to send a new .vcf file to every employee and instruct them on how to save it. Similarly, if you ever need to remove a contact, you need to instruct your employees to manually delete that contact.
By: Brad Wyatt submitted:Sep 22 2023
Check If An Email Was Read using Graph API PowerShell SDK
(thesysadminchannel.com)
With the growing number of people migrating from the Azure AD module to Microsoft Graph API, it's
By: Paul Contreras submitted:Jul 28 2022
With the growing number of people migrating from the Azure AD module to Microsoft Graph API, it's
great to see some features finally become available via the command line interface .aka. PowerShell. Today we'll cover step by step on how.
By: Paul Contreras submitted:Jul 28 2022
Comparing Invoke-RestMethod to the PowerShell SDK
(modernendpoint.com)
Welcome back! A lot has happened since my last post. This post is a companion to one of my sessions
By: Sean Bulger submitted:Jun 16 2022
Welcome back! A lot has happened since my last post. This post is a companion to one of my sessions
at MMSMOA. It is also the latest post in my series on automating endpoint management tasks with Microsoft Graph and the MEMCM AdminService.
By: Sean Bulger submitted:Jun 16 2022
Connecting to Microsoft Graph PowerShell SDK
(powershellgeek.com)
Introduction As promised in my blog post last week, this is the first of many blog posts on
By: damian submitted:Jan 13 2023
Introduction As promised in my blog post last week, this is the first of many blog posts on
Microsoft Graph PowerShell and to start things out right we will first cover the How on connecting to Microsoft Graph PowerShell. Then over the coming weeks we will cover permissions, cmdlet discovery as well as some common...
By: damian submitted:Jan 13 2023
Customizing the Microsoft 365 User Profile Card with the Microsoft Graph PowerShell SDK
(office365itpros.com)
This article describes how to use the Microsoft Graph PowerShell SDK to customize the user account
By: Tony Redmond submitted:Nov 17 2023
This article describes how to use the Microsoft Graph PowerShell SDK to customize the user account
properties shown by the Microsoft 365 user profile card. Previously this was possible using a Graph API request to the beta endpoint. Now everything is in production and Graph SDK cmdlets are available to make customization a tad easier.
By: Tony Redmond submitted:Nov 17 2023
Easy way to send emails using Microsoft Graph API (Office 365) with PowerShell
(evotec.xyz)
When you're using Office 365 and want to send an email, you have two choices SMTP or Microsoft Graph
By: Przemyslaw Klys submitted:Oct 14 2022
When you're using Office 365 and want to send an email, you have two choices SMTP or Microsoft Graph
API, which is a "new" kid on the block. For some time, I've used Microsoft Graph exclusively to send emails in favor of SMTP as it's much easier to manage and generally works over HTTPS.
By: Przemyslaw Klys submitted:Oct 14 2022
Entra ID Improves Registered App Security
(office365itpros.com)
The preview app instance property lock feature designed to improve the security of Entra ID
By: Tony Redmond submitted:Dec 15 2023
The preview app instance property lock feature designed to improve the security of Entra ID
registered apps is becoming the default for new apps. In this article, we describe how to update the app instance property lock to reflect the new default setting using cmdlets from the Microsoft Graph PowerShell SDK, including a script you can download and run.
By: Tony Redmond submitted:Dec 15 2023
Function cannot be created because function capacity 4096 has been exceeded for this scope
(evotec.xyz)
I had a long day today when my long-running script (10 hours) gave me weird errors with Microsoft
By: Przemyslaw Klys submitted:Aug 4 2023
I had a long day today when my long-running script (10 hours) gave me weird errors with Microsoft
Graph for Teams. Finally, I solved my mistakes and reran the hand to see if the report would be complete this time. Surprisingly, it gave me an error I'd never seen before. "Function cannot be created because function capacity 4096 has been exceeded for this scope". The error is at least weird because it's shown on a production server where I've just a handful of PowerShell modules installed, and I've never seen it on my development machine where I've over 200 modules.
By: Przemyslaw Klys submitted:Aug 4 2023
Get-ConditionalAccessSignIn.ps1
(github.com)
The Get-ConditionalAccessSignIn function retrieves Conditional Access Sign-In logs from the
By: Christian Ritter submitted:Oct 25 2024
The Get-ConditionalAccessSignIn function retrieves Conditional Access Sign-In logs from the
Microsoft Graph API within a specified date range.
By: Christian Ritter submitted:Oct 25 2024
Getting Started With Microsoft Graph PowerShell for Microsoft Entra ID
(charbelnemnom.com)
Microsoft Entra ID (formerly Azure AD) is an enterprise access management and identity system for
By: Charbel Nemnom submitted:Oct 6 2023
Microsoft Entra ID (formerly Azure AD) is an enterprise access management and identity system for
Microsoft cloud services. This enterprise identity system gives you accessContinue Reading10 Min. Read
By: Charbel Nemnom submitted:Oct 6 2023
Graph and PowerShell Hiccups for the Groups and Teams Report Script
(office365itpros.com)
The Microsoft 365 Groups and Teams Activity Report is a PowerShell script that I've worked on since
By: Tony Redmond submitted:Mar 29 2024
The Microsoft 365 Groups and Teams Activity Report is a PowerShell script that I've worked on since
2016 (not all the time). Some recent Graph hiccups meant that I had to apply some fixes and workarounds. At the same time, some users hit the infamous 'not recognized as a valid datetime' problem, so another update was needed. All good, clean fun.
By: Tony Redmond submitted:Mar 29 2024
Graph PowerShell Help – Duplicate Synopses
(powershellgeek.com)
Introduction As someone that spends a lot of time working with PowerShell, I have a tendency to
By: Damian Scoles submitted:Mar 10 2023
Introduction As someone that spends a lot of time working with PowerShell, I have a tendency to
review the help for a cmdlet either with Get-Help or checking on Microsoft's Learn pages. Sometimes I see things that trigger my curiosity and this has happened recently when I was reviewing cmdlets for one of Microsoft Graph's...
By: Damian Scoles submitted:Mar 10 2023
Graph PowerShell Samples Community
(github.com)
This forum is a place where you can find community contributed Microsoft Graph PowerShell samples.
By: msgraph submitted:Jun 30 2023
This forum is a place where you can find community contributed Microsoft Graph PowerShell samples.
By: msgraph submitted:Jun 30 2023
Handling the Too Many Retries Error and Dealing with Odd Numbers of Audit Events
(office365itpros.com)
The AuditLog Query Graph API remains in beta status but cmdlets are now available in the Microsoft
By: Tony Redmond submitted:Aug 16 2024
The AuditLog Query Graph API remains in beta status but cmdlets are now available in the Microsoft
Graph PowerShell SDK. This led to some oddities in results when the number of audit events found by a search didn't match those reported by the Purview compliance portal. It all worked out in the end. In other news, the Set-MgRequestContext helped sort out some retry problems.
By: Tony Redmond submitted:Aug 16 2024
How the Graph X-Ray Tool Helps PowerShell Developers
(office365itpros.com)
When Microsoft decided to build the administrative tools for Exchange Server 2007 around PowerShell,
By: Tony Redmond submitted:Jun 16 2022
When Microsoft decided to build the administrative tools for Exchange Server 2007 around PowerShell,
they realized that it would take time for administrators to become accustomed to PowerShell. Sensibly, Microsoft included a cmdlet logging facility in the Exchange Management Console (EMC) to allow administrators to see the PowerShell code used to execute different actions, such as creating a new mailbox.
By: Tony Redmond submitted:Jun 16 2022
How to bypass Microsoft Graph PowerShell access restrictions
(ourcloudnetwork.com)
Learn how to bypass Microsoft Graph PowerShell access restrictions and gain full directory access
By: Daniel Bradley submitted:Nov 1 2024
Learn how to bypass Microsoft Graph PowerShell access restrictions and gain full directory access
using PowerShell.
By: Daniel Bradley submitted:Nov 1 2024
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 Deal with Common Errors when Running Graph Commands with PowerShell
(practical365.com)
It's great to be able to run Graph API requests in PowerShell scripts if everything goes right. This
By: Tony Redmond submitted:Feb 10 2023
It's great to be able to run Graph API requests in PowerShell scripts if everything goes right. This
article describes why some common Graph API errors occur in scripts and what to do when the errors happen. Most errors are due to permissions assigned to the Azure AD apps used to run scripts and getting the basics will resolve those problems.
By: Tony Redmond submitted:Feb 10 2023
How to disable per-user MFA using Microsoft Graph PowerShell
(ourcloudnetwork.com)
Learn how to use Microsoft Graph PowerShell to disable per-user MFA in Microsoft Entra to support
By: Daniel Bradley submitted:Jun 21 2024
Learn how to use Microsoft Graph PowerShell to disable per-user MFA in Microsoft Entra to support
migration to Conditional Access.
By: Daniel Bradley submitted:Jun 21 2024
How to Set Directory Synchronization Features with the Graph
(office365itpros.com)
Directory synchronization features control how the Entra Connect tool works when synchronizing
By: Tony Redmond submitted:Oct 25 2024
Directory synchronization features control how the Entra Connect tool works when synchronizing
accounts from Active Directory to Entra ID. The current advice is to use a cmdlet from the depreciated MSOL module to update settings. This article explains how to do the job with the Graph APIs, including cmdlets from the Entra PowerShell module.
By: Tony Redmond submitted:Oct 25 2024
How to Use the Graph SDK to Manage Group-Based Licensing
(office365itpros.com)
Group-based licensing is a mechanism to make it easier to assign and mange product licenses for
By: Tony Redmond submitted:Nov 8 2024
Group-based licensing is a mechanism to make it easier to assign and mange product licenses for
large sets of user accounts. In this article, we discuss how to use Microsoft Graph PowerShell SDK cmdlets to manage group-based license assignments in a Microsoft 365 tenant. Assigning licenses to groups is very much like direct assignments, but some differences exist.
By: Tony Redmond submitted:Nov 8 2024
Installing the Entire Microsoft Graph PowerShell SDK Seems Like the Right Idea
(office365itpros.com)
An article described some benefits that could be gained from not installing the complete Microsoft
By: Tony Redmond submitted:Sep 27 2024
An article described some benefits that could be gained from not installing the complete Microsoft
Graph PowerShell SDK. The question is whether the claimed benefits are more theoretical than actual. It's hard to say because it all depends on how someone uses the SDK for development or to run scripts. Anyway, it's a topic worth discussing.
By: Tony Redmond submitted:Sep 27 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
Introduction to Microsoft Graph PowerShell
(learn.microsoft.com)
Characterize the types of business processes that Microsoft Graph PowerShell can automate. Describe
By: Microsoft Learning submitted:Sep 23 2022
Characterize the types of business processes that Microsoft Graph PowerShell can automate. Describe
the commands and permissions needed to automate processes with Microsoft Graph PowerShell.
By: Microsoft Learning submitted:Sep 23 2022
Introduction to the Microsoft Graph Powershell SDK
(practical365.com)
A Unified Approach to Microsoft 365 management The Microsoft Graph API has been around for some time
By: Sean McAvinue submitted:Sep 30 2022
A Unified Approach to Microsoft 365 management The Microsoft Graph API has been around for some time
now and Microsoft is moving more management functions (such as License Management for Azure AD Accounts) to the platform. When Microsoft transitions a function to the Graph, organizations might have to update PowerShell scripts.
By: Sean McAvinue submitted:Sep 30 2022
Introduction to the Microsoft Graph PowerShell SDK Part II: Performing Common User and Group Operations
(practical365.com)
This article dives deep into using the SDK to perform common day-to-day tasks to manage users and
By: Sean McAvinue submitted:Oct 14 2022
This article dives deep into using the SDK to perform common day-to-day tasks to manage users and
groups through the Graph. Be on the look out for the next part of this series!
By: Sean McAvinue submitted:Oct 14 2022
Intune + PowerShell + MS Graph – YouTube
(youtube.com)
In this session we will have a look at how we as IT-admins can utilize MS Graph in our daily work.
By: Modern Endpoint Management (Official Group) submitted:Jun 16 2022
In this session we will have a look at how we as IT-admins can utilize MS Graph in our daily work.
MS Graph is key when it comes to automation of our tasks and activities, work smarter not harder!
By: Modern Endpoint Management (Official Group) submitted:Jun 16 2022
Intune Graph API Query Tips and Graph X-Ray to get PowerShell Scripts from MEM Admin Center
(youtube.com)
Microsoft Graph exposes REST APIs and client libraries to access data on Microsoft cloud services
By: Namaste Techies submitted:Jun 24 2022
Microsoft Graph exposes REST APIs and client libraries to access data on Microsoft cloud services
such as Microsoft Endpoint Manager. As Microsoft sums it up, it's the gateway to data and intelligence in Microsoft 365.
By: Namaste Techies submitted:Jun 24 2022
Locating Microsoft Graph PowerShell Cmdlets
(powershellgeek.com)
Introduction In the previous article (link here) we covered the basics of connecting to Microsoft
By: damian submitted:Jan 20 2023
Introduction In the previous article (link here) we covered the basics of connecting to Microsoft
Graph PowerShell as well as some of the requirements that go along with the connection. This week we will review how to find cmdlet for Graph to help start to break down what is available in this module as well...
By: damian submitted:Jan 20 2023
Maneuvering Your Way to Microsoft Graph API with Jocel Sabellano
(youtube.com)
Jocel Sabellano gives a deep dive into getting started with the Microsoft graph API via PowerShell.
By: Research Triangle PowerShell Users Group submitted:Jun 24 2022
Jocel Sabellano gives a deep dive into getting started with the Microsoft graph API via PowerShell.
He discusses how it works and how to interact with it to access the myriad of services in the Microsoft 365 Cloud.
By: Research Triangle PowerShell Users Group submitted:Jun 24 2022
Maneuvering Your Way to Microsoft Graph API with Jocel Sabellano – YouTube
(youtube.com)
Jocel Sabellano gives a deep dive into getting started with the Microsoft graph API via PowerShell.
By: Research Triangle PowerShell Users Group submitted:Jun 16 2022
Jocel Sabellano gives a deep dive into getting started with the Microsoft graph API via PowerShell.
He discusses how it works and how to interact with it to access the myriad of services in the Microsoft 365 Cloud.
By: Research Triangle PowerShell Users Group submitted:Jun 16 2022
Mastering PowerShell Graph API: Easy-to-Follow Insights
(adamtheautomator.com)
Master the PowerShell Graph API with our concise guide. Learn to access, read, and manage data
By: Alex Asplund submitted:Dec 8 2023
Master the PowerShell Graph API with our concise guide. Learn to access, read, and manage data
effortlessly, enhancing your API skills quickly and efficiently.
By: Alex Asplund submitted:Dec 8 2023
Mastering the Foibles of the Microsoft Graph PowerShell SDK
(office365itpros.com)
After a while, you discover the holes in any technology. In the case of the Microsoft Graph
By: Tony Redmond submitted:Feb 17 2023
After a while, you discover the holes in any technology. In the case of the Microsoft Graph
PowerShell SDK, some inconsistencies await unwary developers. The SDK doesn't like $Null, doesn't support pipelining, insists on specific property casing at times, sometimes accepts user principal names and sometimes doesn't, and sticks valuable data in hash tables hiding in a property you might know nothing about. Good as it is to have the SDK cmdlets, they need to be treated with care as you transition from the old Azure AD and MSOL modules.
By: Tony Redmond submitted:Feb 17 2023
Microsoft Graph API Endpoint Adds Last Successful Sign-In Date Time
(thelazyadministrator.com)
Previously, if you wanted to find a user's last successful sign-in to your Microsoft 365 tenant
By: Brad Wyatt submitted:Dec 15 2023
Previously, if you wanted to find a user's last successful sign-in to your Microsoft 365 tenant
using the Microsoft Graph REST API, you would have to iterate through Entra ID sign-in logs. With new recent additions to the Microsoft Graph API Beta Endpoint, you can now return the UTC value just by parsing the user details and properties. The Microsoft documentation regarding the signInActivity resource type can be found here.
By: Brad Wyatt submitted:Dec 15 2023
Microsoft Graph Explorer Boosted by New Features
(office365itpros.com)
Some recent changes have made the Graph Explorer even more useful. First, PowerShell has joined the
By: Tony Redmond submitted:Jul 1 2022
Some recent changes have made the Graph Explorer even more useful. First, PowerShell has joined the
set of supported languages for code snippets.
By: Tony Redmond submitted:Jul 1 2022
Microsoft Graph Known Issue
(twitter.com)
If you're using the Microsoft Graph API and getting repeated auth prompts with every request you may
By: Sam Erde submitted:Aug 26 2022
If you're using the Microsoft Graph API and getting repeated auth prompts with every request you may
have a corrupt token cache.
By: Sam Erde submitted:Aug 26 2022
Microsoft Graph PlusPlus A better way to interact with Microsoft Graph API with James O’Neil – YouTube
(youtube.com)
The Microsoft Graph API is the future of querying data from the Azure cloud. It's incredibly
By: Research Triangle PowerShell Users Group submitted:Jun 16 2022
The Microsoft Graph API is the future of querying data from the Azure cloud. It's incredibly
powerful but isn't very PowerShell friendly.
By: Research Triangle PowerShell Users Group submitted:Jun 16 2022
Microsoft Graph PowerShell SDK V2.0 Reaches General Availability
(office365itpros.com)
The Microsoft Graph PowerShell SDK V2 attained general availability on July 4, 2023. Microsoft did a
By: Tony Redmond submitted:Jul 14 2023
The Microsoft Graph PowerShell SDK V2 attained general availability on July 4, 2023. Microsoft did a
horrible job of announcing the news, but now that the SDK V2 is available, it's time to migrate scripts from earlier versions. Splitting the V1.0 and beta cmdlets into different modules is a big difference, as is renaming the beta cmdlets. But other points exist to consider as you migrate from the Microsoft Graph PowerShell SDK V1 to V2.
By: Tony Redmond submitted:Jul 14 2023
Microsoft Graph PowerShell Weirdness – Part Two
(powershellgeek.com)
Introduction In last week's 'Microsoft Graph PowerShell Weirdness' we talked about how the number of
By: Damian Scoles submitted:Feb 24 2023
Introduction In last week's 'Microsoft Graph PowerShell Weirdness' we talked about how the number of
cmdlets seems to be altered with a Get-Help cmdlet for some unknown reason. This week we will cover yet another odd issue with the Graph PowerShell module and it is a thorn in my side whenever I see mistakes like...
By: Damian Scoles submitted:Feb 24 2023
Migrating PowerShell Scripts from AzureAD to Microsoft.Graph
(cloudprotect.ninja)
Best practices how to migrate PowerShell scripts to the Microsoft.Graph module since the AzureAD,
By: Dustin Schutzeichel submitted:Feb 17 2023
Best practices how to migrate PowerShell scripts to the Microsoft.Graph module since the AzureAD,
AzureADPreview and MSOnline predecessors retire soon.
By: Dustin Schutzeichel submitted:Feb 17 2023
More Microsoft Graph PowerShell SDK Problems
(office365itpros.com)
Some problems emerged in V2.17 and V2.18 of the Microsoft Graph PowerShell SDK. In one case,
By: Tony Redmond submitted:May 10 2024
Some problems emerged in V2.17 and V2.18 of the Microsoft Graph PowerShell SDK. In one case,
Microsoft changed cmdlet names. In another, it's an identity issue caused by incompatible assemblies. In both cases, questions have to be asked about the level of testing done by Microsoft before they release a new module. Bugs do happen, but testing should catch the obvious problems.
By: Tony Redmond submitted:May 10 2024
Password Expiry Notification Using Teams and Graph API
(devblogs.microsoft.com)
This post's intent is to show how to use Graph API through PowerShell to send a Teams message.
By: Faris Malaeb submitted:Aug 5 2022
This post's intent is to show how to use Graph API through PowerShell to send a Teams message.
By: Faris Malaeb submitted:Aug 5 2022
Permissions Required to Run Microsoft Graph Cmdlets
(powershellgeek.com)
Introduction When connecting to Microsoft Graph PowerShell, it is important to determine what
By: damian submitted:Jan 27 2023
Introduction When connecting to Microsoft Graph PowerShell, it is important to determine what
permissions are needed for that connection as it could determine which cmdlets we are able to run as well as what access is granted to manage objects with Graph PowerShell. Microsoft does provide a hand pair of cmdlets for determining cmdlets to...
By: damian submitted:Jan 27 2023
PowerShell, Intune, and Microsoft Graph X-Ray
(powershellisfun.com)
I used Microsoft Graph X-Ray as a tool for getting the PowerShell cmdlets needed for scripting
By: Harm Veenstra submitted:Oct 13 2023
I used Microsoft Graph X-Ray as a tool for getting the PowerShell cmdlets needed for scripting
specific actions in the Azure / Entra ID portal in the past. But you can also use it for Intune 🙂 In this blog post, I will show you how this works.
By: Harm Veenstra submitted:Oct 13 2023
PowerShell, Microsoft Graph, and MVP Wisdom with Christian Ritter
(powershellpodcast.podbean.com)
Join us as we chat with Microsoft MVP Christian Ritter about all things PowerShell and beyond!
By: The Powershell Podcast submitted:Nov 15 2024
Join us as we chat with Microsoft MVP Christian Ritter about all things PowerShell and beyond!
Christian dives into his journey to becoming an MVP, his insights on Microsoft Graph, and the impact it's having in the PowerShell community. We also explore the growing PowerShell community in Germany and get an exciting preview of the upcoming PowerShell Saturday event. Whether you're a PowerShell novice or a seasoned pro, this episode has something for everyone
By: The Powershell Podcast submitted:Nov 15 2024
PSMSGraphFunctions/Get-MSGraphEnterpriseApplicationPermission.ps1
(github.com)
Export permission scopes for Enterprise Apps in your tenant using oauth2PermissionGrants
By: Christian Ritter submitted:Oct 18 2024
Export permission scopes for Enterprise Apps in your tenant using oauth2PermissionGrants
(represented) and appRoleAssignments (within).
By: Christian Ritter submitted:Oct 18 2024
Query the required permissions of a Microsoft Graph cmdlet
(powershellisfun.com)
Microsoft Graph can be difficult sometimes. There are loads of PowerShell Microsoft Graph Modules
By: Harm Veenstra submitted:Sep 20 2024
Microsoft Graph can be difficult sometimes. There are loads of PowerShell Microsoft Graph Modules
and cmdlets that require different permissions. In this blog post, I will show you how to query the permissions for a cmdlet, multiple cmdlets, or all cmdlets from a specific Microsoft Graph module.
By: Harm Veenstra submitted:Sep 20 2024
Send Emails with Microsoft Graph API and PowerShell
(woshub.com)
To send e-mail through an SMTP server from PowerShell scripts, you can use the built-in
By: Windows OS Hub submitted:Nov 10 2023
To send e-mail through an SMTP server from PowerShell scripts, you can use the built-in
Send-MailMessage cmdlet. Its major drawback is that it can only use Basic SMTP authentication and...
By: Windows OS Hub submitted:Nov 10 2023
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
The Maddening Side of the Microsoft Graph PowerShell SDK
(office365itpros.com)
All software has unique quirks, and the foibles of the Microsoft Graph PowerShell SDK are well
By: Tony Redmond submitted:Jul 26 2024
All software has unique quirks, and the foibles of the Microsoft Graph PowerShell SDK are well
known. But it's much harder when the underlying foundation contributes to the craziness as described in this article. Graph pagination works in a specific way and Microsoft tunes the Graph to deliver great performance by reducing the set of properties returned for objects. Both can cause concern for developers.
By: Tony Redmond submitted:Jul 26 2024
The Maddening Side of the Microsoft Graph PowerShell SDK
(office365itpros.com)
All software has unique quirks, and the foibles of the Microsoft Graph PowerShell SDK are well
By: Tony Redmond submitted:Aug 2 2024
All software has unique quirks, and the foibles of the Microsoft Graph PowerShell SDK are well
known. But it's much harder when the underlying foundation contributes to the craziness as described in this article. Graph pagination works in a specific way and Microsoft tunes the Graph to deliver great performance by reducing the set of properties returned for objects. Both can cause concern for developers.
By: Tony Redmond submitted:Aug 2 2024
The Many Ways to Send Email via the Microsoft Graph
(practical365.com)
For those wanting to eliminate the SMTP AUTH protocol, Microsoft has three ways to send email using
By: Tony Redmond submitted:Nov 4 2022
For those wanting to eliminate the SMTP AUTH protocol, Microsoft has three ways to send email using
Graph APIs. This article looks at how to use the Send-MgUserMail cmdlet and compares it to the Send-MgUserMessage cmdlet (covered in depth in a previous article). Our conclusion is that you'll probably end up using Send-MgUserMail because it's easier to use.
By: Tony Redmond submitted:Nov 4 2022
Use the Debug Parameter for Microsoft Graph PowerShell SDK Cmdlets to Expose Graph API Requests
(office365itpros.com)
Debug Microsoft Graph PowerShell SDK Cmdlets to Gain Insights into What They Do
By: Tony Redmond submitted:Jul 15 2022
Debug Microsoft Graph PowerShell SDK Cmdlets to Gain Insights into What They Do
By: Tony Redmond submitted:Jul 15 2022
Using Graph to assign a group to a PowerShell script in Intune
(deploymentresearch.com)
While doing some Intune automation the other day I got stuck on trying to assign a script to a
By: Mattias Benninge submitted:Aug 26 2022
While doing some Intune automation the other day I got stuck on trying to assign a script to a
group. Using the graph API documentation sent me on a wild goose chase so just wanted to write a small writeup if someone else ran into the same problem.
By: Mattias Benninge submitted:Aug 26 2022
Using Microsoft Graph SDK Cmdlets to Create a SharePoint Online List
(office365itpros.com)
An article last week discussed how to create SharePoint lists with the PnP.PowerShell module. In
By: Tony Redmond submitted:Nov 3 2023
An article last week discussed how to create SharePoint lists with the PnP.PowerShell module. In
this article, we do the same with cmdlets from the Microsoft Graph PowerShell SDK. The results achieved with the Graph SDK aren't as good as those gained with PnP.PowerShell. Some of the SDK cmdlets don't function as expected and the resulting list is not as functional as the one generated by PnP. Oh well...
By: Tony Redmond submitted:Nov 3 2023
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
View All API Permissions Microsoft Graph
(nielskok.tech)
I couldn't find this myself quickly in the Microsoft docs. So I decided to write...
By: Niels Kok submitted:Oct 28 2022
I couldn't find this myself quickly in the Microsoft docs. So I decided to write...
By: Niels Kok submitted:Oct 28 2022
Why You Should Not Upgrade to Microsoft Graph PowerShell SDK V2.14
(office365itpros.com)
Usually, we recommend that Microsoft 365 tenants use the latest version of the Microsoft Graph
By: Tony Redmond submitted:Feb 23 2024
Usually, we recommend that Microsoft 365 tenants use the latest version of the Microsoft Graph
PowerShell SDK. However, a serious bug in V2.14 means that this (and perhaps V2.13.1) should be avoided until Microsoft fixes a problem that causes spurious output to be included when cmdlets like Get-MgUser and Get-MgGroup are run.
By: Tony Redmond submitted:Feb 23 2024