Skip to content

Update scripts to use Microsoft Graph PowerShell SDK #38

@AndrewJNet

Description

@AndrewJNet

Microsoft has announced the deprecation of the Azure AD Graph service, ending support for the Azure AD, Azure AD Preview, and MS Online PowerShell modules. These functions should be migrated to the Microsoft Graph PowerShell SDK (Microsoft.Graph).

In addition, newer versions of the Graph SDK has changed some syntax. For example, a common use of the Graph SDK was to connect to the Graph SDK Beta endpoint by using "Select-MgProfile." This function no longer exists and the Microsoft Graph Beta PowerSehll SDK (Microsoft.Graph.Beta) has been created with new cmdlets containing "Beta" in the name. Lastly, old Intune-related modules like Intune-PowerShell-SDK are no longer maintained. Again, in favor of the Graph SDK/Graph Beta SDK modules.

With that in mind, we have several useful scripts that should be reviewed for updates. We need to determine whether they can point to the v1.0 endpoint or the Beta endpoint and thus, the Graph or Graph Beta SDK. Currently tracking the following scripts:

Please add additional scripts in the comments below if I've missed them. Additionally, feel free to create a Pull Request if you already have updated versions of these scripts.

Additional Reading:
Important: Azure AD Graph Retirement and Powershell Module Deprecation

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions