Make a file attribute to set "read-only" while uploading to OneDrive using Microsoft Graph API

Copper Contributor

Hello Community, 

 

I am working on a project where I have a requirement of uploading files to OneDrive using Microsoft Graph API, 

 

I am successfully able to upload to OneDrive folder. however, I would also want to make a file attribute to set to "read-only" using Microsoft Graph API. 

 

Currently I could not get any information in the documentation on making / setting the file attribute to "read-only".

 

Please help in providing some details.

0 Replies