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

Missing method DeleteAsync from user photo Beta version 5.58.0 and onwards #809

Closed
edwinvandriel opened this issue Mar 4, 2024 · 3 comments

Comments

@edwinvandriel
Copy link

When upgrading the sdk from v5.58.0 and onwards the DeleteAsync methoc is missing when trying to delete a user photo.
The error is:
PhotoRequestBuilder' does not contain a definition for 'DeleteAsync' and no accessible extension method 'DeleteAsync' accepting a first argument of type 'PhotoRequestBuilder' could be found (are you missing a using directive or an assembly reference?)

When trying to call this sdk code .Users[identifier].Photo.DeleteAsync()

https://learn.microsoft.com/en-us/graph/api/profilephoto-delete?view=graph-rest-beta&tabs=http

This worked perfectly until v5.57.0

@andrueastman
Copy link
Member

This should have been resolved via microsoftgraph/msgraph-metadata#594

@edwinvandriel Any chance you can confirm this is fixed in the latest version?

@edwinvandriel
Copy link
Author

@andrueastman Seems to be working fine now. Thank you!

Copy link
Contributor

No description provided.

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