microsoftgraph / powershell-intune-samples

This repository of PowerShell sample scripts show how to access Intune service resources. They demonstrate this by making HTTPS RESTful API requests to the Microsoft Graph API from PowerShell.
MIT License
1.35k stars 656 forks source link

Azure AD deprecation / ADAL deprication #245

Open weyCC81 opened 1 year ago

weyCC81 commented 1 year ago

How will this libary be mantained after the deprication?

Azure AD PowerShell is planned for deprecation https://learn.microsoft.com/en-us/powershell/module/azuread/?view=azureadps-2.0

Update: Update December 15th, 2022: ADAL end of support is now extended to June 30th, 2023. We will retire AAD Graph API any time after June 30th, 2023. Through the next six months (January 2023 – June 2023) we will continue informing customers about the upcoming end of support along with providing guidance on migration.

mdlister commented 1 year ago

Im having problems with this as well and think it's related. Using PowerShell 7 I'm reading that ADAL isn't supported and it needs updating to MSAL Instead. https://powers-hell.com/2020/06/28/managing-intune-with-graph-powershell-7-msal/ has a good article on how to connect using MSAL but getting started with PowerShell and Intune it's a shame the samples provided by MS are outdated.