microsoft graph - permissions info on file in one drive - how to get additional info

102 views Asked by At

i would like to know if the link shared is password protected and its expiration date if exists i make an API call graphClient.users('email').drive().items(id).permissions()

but don't seem to receive that information and cannot locate another call that will return it

if there is another way to call the api not via sdk that is acceptable as well thanks

1

There are 1 answers

0
Brad On BEST ANSWER

Try using the beta endpoint - you can point to it using the SDK by following this answer (the answer is for C# but it should apply to Java as well). The SDK may not have the properties on it, but they should be available in the AdditionalData property.