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

AADAdministrativeUnit, AADApplication, AADEntitlementManagementConnectedOrganization, AADGroup, AADUser: Replace old cmdlets with Remove-Mg*DirectoryObjectByRef #4543

Merged
merged 6 commits into from
Apr 17, 2024

Conversation

ricmestre
Copy link
Contributor

@ricmestre ricmestre commented Apr 9, 2024

Pull Request (PR) description

Graph 2.17.0 deprecated old cmdlet Remove-Mg*ByRef in favor of Remove-Mg*DirectoryObjectByRef, this PR fixes that.

See microsoftgraph/msgraph-sdk-powershell#2670 and microsoftgraph/msgraph-sdk-powershell#2674 where this was reported.

This Pull Request (PR) fixes the following issues

@salbeck-sit
Copy link
Contributor

@ricmestre you're fast

@salbeck-sit
Copy link
Contributor

Don't forget to update dependencies - the issue only exists in 2.17.0

@ricmestre
Copy link
Contributor Author

I was already creating the PR when you opened the issue :)

@ricmestre ricmestre changed the title AADGroup, AADUser: Replace old cmdlet with Remove-MgGroupMemberDirectoryObjectByRef AADAdministrativeUnit, AADApplication, AADEntitlementManagementConnectedOrganization, AADGroup, AADUser: Replace old cmdlets with Remove-Mg*DirectoryObjectByRef Apr 10, 2024
@NikCharlebois NikCharlebois merged commit 1aacb77 into microsoft:Dev Apr 17, 2024
2 checks passed
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.

Graph SDK v2.17.0 contains a breaking change wrt removing a member from a group
3 participants