You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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()
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
The text was updated successfully, but these errors were encountered: