The process of building custom applications and tools that interact with Microsoft SharePoint, including SharePoint Online in Microsoft 365.
Please note that our forum is a public platform, and we will modify your question to hide your personal information in the description. Kindly ensure that you hide any personal or organizational information the next time you post an error or other details to protect personal data.
Hi @Prakash Verma
First, I have not found any document that stated this changes. This behavior could indicate a server-side or a temporary issue.
This UpdateDocumentSharingInfo is still supported, there is no documentation mentioned about this being deprecated or retired.
You can try this to see if it works for you.
POST /_api/web/lists(guid'{listId}')/items({itemId})/breakroleinheritance(false,true)
POST /_api/web/roleassignments/addroleassignment(
principalid={principalId},
roledefid={roleDefId}
)
As for now, there is no official documents report this unexpected behavior, therefore, no known issue or Service Health report are documenting this. If this is affecting multiple tenants, you can consider opening a support ticket via Admin Center.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.