Issue with creating anonymous sharing link #1201
-
Maybe I am doing this wrong, but when I am trying to create an anonymous link following the example in the docs, I get this error:
Sample code:
Not sure if this is an error in PnP Core or I am doing this wrong. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@gautamdsheth : that's weird, I just ran our test case (https://github.com/pnp/pnpcore/blob/dev/src/sdk/PnP.Core.Test/Security/PermissionTests.cs#L183-L235) that does exactly that and it works. Is the site collection in question configured for anon sharing? If you can do the same sharing from the UI then it is. Can you send me a Fiddler trace if the above does not help? |
Beta Was this translation helpful? Give feedback.
d00ff1c was pushed to fix this.