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
Describe the bug
Application code has been updated to use new recourse GrantedToV2 instead of deprecated GrantedTo. But behavior of this recourse was changed. For personal account (Ms Live Account) and shared with user drive item, MS Graph request client.Drives[DiskId].Items[ItemId].Permissions.GetAsync() returns IDriveItemPermissionsCollectionPage collection with filled GrantedTo resource but GrantedToV2 is null!
To Reproduce
Steps to reproduce the behavior:
Sign-in with credentials of personal account
Request permissions for some shared with this account drive item ()
GrantedToV2 is null
Expected behavior
When drive item was shared with this account explicitly, GrantedToV2 must not be null and should contain filled user identity.
Desktop:
OS: Windows 10
Screenshots:
The text was updated successfully, but these errors were encountered:
23W
changed the title
DriveItem permissions: Inconsistency between GrantedToV2 and GrantedTo facets for Personal account
DriveItem permissions: Inconsistency between GrantedToV2 and GrantedTo resources for Personal account
Dec 14, 2021
@23W Have you had the opportunity to observe this behavior for an organizational account? I suspect that we may have an unintentional difference in behavior between the personal and org account types.
I've posted the query at the link below so that we may get feedback from the API owners on whether this is a known difference between the personal/organizational accounts as this is a query for the API side of things.
Describe the bug
Application code has been updated to use new recourse
GrantedToV2
instead of deprecatedGrantedTo
. But behavior of this recourse was changed. For personal account (Ms Live Account) and shared with user drive item, MS Graph requestclient.Drives[DiskId].Items[ItemId].Permissions.GetAsync()
returns IDriveItemPermissionsCollectionPage collection with filledGrantedTo
resource butGrantedToV2
is null!To Reproduce
Steps to reproduce the behavior:
GrantedToV2
is nullExpected behavior
When drive item was shared with this account explicitly,
GrantedToV2
must not be null and should contain filleduser
identity.Desktop:
Screenshots:
The text was updated successfully, but these errors were encountered: