We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Set-MgUserPhotoContent
Thanks for reporting the bug. Please ensure you've gone through the following checklist before opening an issue:
Describe the bug
The command fails with missing assembly error Microsoft.Win32.Registry.dll when used in a PowerShell 5 environment.
Microsoft.Win32.Registry.dll
To Reproduce Steps to reproduce the behavior:
connect-mggraph -scopes "ProfilePhoto.ReadWrite.All,User.ReadWrite,User.ReadWrite.All"
Set-MgUserPhotoContent -UserId <UserId> -InFile "<Path to your image file>"
Expected behavior
No error thrown
Debug Output
Module Version 2.16.0
Environment Data PowerShell 5
Screenshots
Additional context
The cmdlet works in PowerShell 7
The text was updated successfully, but these errors were encountered:
I have the same Issue. Using module version 2.12.0 has worked fine for me.
Sorry, something went wrong.
There is also a discussion about this over on microsoft learn.
Thanks @MaKraMc, we are working to resolve the issue.
Microsoft.Win32.Registry
timayabi2020
Successfully merging a pull request may close this issue.
Thanks for reporting the bug. Please ensure you've gone through the following checklist before opening an issue:
Describe the bug
To Reproduce
Steps to reproduce the behavior:
connect-mggraph -scopes "ProfilePhoto.ReadWrite.All,User.ReadWrite,User.ReadWrite.All"
Set-MgUserPhotoContent -UserId <UserId> -InFile "<Path to your image file>"
Expected behavior
Debug Output
Module Version
2.16.0
Environment Data
PowerShell 5
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: