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

Remove-MgGroupPhoto not recognized in Microsoft.Graph.Groups version 2.13 and higher #2642

Closed
mastachon opened this issue Mar 22, 2024 · 1 comment

Comments

@mastachon
Copy link

Thanks for reporting the bug. Please ensure you've gone through the following checklist before opening an issue:

Describe the bug
After updating to version 2.13.0 of the Microsoft.Graph.Groups module, the Remove-MgGroupPhoto command is no longer recognized. The Get-Command cmdlet returns null when attempting to find the command within the module.
Get-Command -Module Microsoft.Graph.Groups | ?{$_.Name -eq 'Remove-MgGroupPhoto'}

To Reproduce
Steps to reproduce the behavior:

  1. Install Microsoft.Graph.Groups V2.13.0 or grater.
  2. Execute Remove-MgGroupPhoto.

Expected behavior
Remove-MgGroupPhoto is decected and working.

Module Version
Microsoft.Graph.Groups: 2.13.0 - 2.16.0

Environment Data
PSVersion 5.1.22621.2506
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.22621.2506
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Additional context
The current workaround is to either downgrade the module to version 2.12.0 or use the 'Invoke-MgGraphRequest' command instead.

@timayabi2020
Copy link
Contributor

Issue resolved by 2.17.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants