DriveRecipient is inaccessible because of protection level #909
-
I was trying to use "CreateSharingInviteAsync" method with InviteOptions. The issue I am running into is I cannot set the Recipients property of InviteOptions because of DriveRecipient protection level. Appreciate any sort of advice here. Below is the code I am using to create a sharing link. var driveRecipients = new List()
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@GaddeChaitanya : thanks for using PnP Core SDK and providing feedback, that indeed is a bug. I've just fixed this. See https://github.com/pnp/pnpcore/blob/dev/src/sdk/PnP.Core.Test/Security/PermissionTests.cs#L288-L299 for how this will work. Today I'll ship version 1.7, so you'll have to wait for that to use the updated version. |
Beta Was this translation helpful? Give feedback.
@GaddeChaitanya : thanks for using PnP Core SDK and providing feedback, that indeed is a bug. I've just fixed this. See https://github.com/pnp/pnpcore/blob/dev/src/sdk/PnP.Core.Test/Security/PermissionTests.cs#L288-L299 for how this will work. Today I'll ship version 1.7, so you'll have to wait for that to use the updated version.