Replies: 1 comment 1 reply
-
It should work. It was working for me before. The message seems to indicate that something must be allowed by the admin. Maybe this setting is disabled for the graph api... i don't really know. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Share with link / invite
Hi am trying to give someone outside my org access to a folder in my OneDrive. I have been successful creating a folder, uploading files, and sending an email. I have not been successful generating a share link or sharing by invite. The following code is throwing the error below:
permission = requestFolder.share_with_link(share_type='view', share_scope = 'anonymous')
and
permission = requestFolder.share_with_invite(recipients='my@email.com', require_sign_in=False, send_email=True, message='Greetings!!', share_type='view')
.I get the message: "Error Message: The feature has been disabled. Please contact your admin to get it enabled." I am not sure what this means because I am able to share the the folder with an email address manually.
I have the scopes set:
scopes = ['Mail.ReadWrite', 'Mail.Send', 'offline_access', 'User.Read', 'Files.Read.All', 'Files.ReadWrite.All', 'Tasks.Read', 'Tasks.ReadWrite', 'Sites.Read.All', 'Sites.ReadWrite.All']
Beta Was this translation helpful? Give feedback.
All reactions