Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion from MSGraph module to MGGraph (Move to MSAL and enable Posh7 compatibility) #68

Closed
wants to merge 8 commits into from

Conversation

AusXTech
Copy link
Contributor

Given that all thing M365 Powershell is being pushed into the Microsoft.Graph module, I thought it would be a good time to convert this module.

The current module relies on the all but dead Microsoft.Graph.Intune module. Its current implementation of connect-msgraph uses the ADAL endpoint which will be EOL June 2023, which means this module will likely cease to work after the current date

This conversion brings the following:

  • Authentication via the Microsoft.Graph module (MSAL)
  • Powershell 7 support
  • Backups generated with the MSGraph version are still compatible

I've tried to keep the original style as much as possible, however, due to a few bits of fun with the graph API I have had to change a few things.

This is the first project I've committed code to, please let me know if I've messed anything up

@AusXTech AusXTech changed the title Conversion from MSGraph module to MGGraph (enable Posh7 compatibility) Conversion from MSGraph module to MGGraph (Move to MSAL and enable Posh7 compatibility) Feb 10, 2023
@AusXTech
Copy link
Contributor Author

Pulling back as I still have a few issues to fix, will resubmit soon.

@AusXTech AusXTech closed this Feb 13, 2023
mhu4711 pushed a commit to mhu4711/IntuneBackupAndRestore that referenced this pull request Jun 17, 2024
# Conflicts:
#	IntuneBackupAndRestore/Public/Invoke-IntuneBackupAppProtectionPolicyAssignment.ps1
#	IntuneBackupAndRestore/Public/Invoke-IntuneBackupDeviceConfiguration.ps1
#	IntuneBackupAndRestore/Public/Invoke-IntuneBackupDeviceHealthScript.ps1
#	IntuneBackupAndRestore/Public/Invoke-IntuneBackupDeviceHealthScriptAssignment.ps1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant