We are using The Graph api to set the content type of a SharePoint document. Without changing any code, we are getting Access denied errors, starting from August 23.
We are executing a "PATCH" to the address "https://graph.microsoft.com/v1.0/sites/[companyName].sharepoint.com,[siteCollectionID],[siteId]/lists/[listId]/items/[itemId]/fields" With the requestdata "{"ContentTypeId": "0x[ContentTypeID]"}"
On one SharePoint Online environment this still works, but on another SharePoint Online environment we receive the following error: Code: "accessDenied" Message: "Field 'ContentTypeId' is read-only"
Because this happens without any code change we're wondering if Microsoft changed something in a SharePoint Online update, or is there any setting on the failing SharePoint environment that could cause this exception??
Thank you for any help or suggestions
Update
Unfortunately, things got worse over the weekend. A update to our situation: We have 2 SharePoint Online environments that we administer our selves and and 1 SP Online that we don’t control. On Friday 1 of my environments still worked correctly and 2 started failing. Now on Monday, all 3 environments fail. I’m 100% sure we didn’t change the code and of 2 SP environments I’m 100% sure we didn’t change any settings.
I'm trying to look into the updates of SharePoint Online, by using the Office Roadmap (https://products.office.com/nl-NL/business/office-365-roadmap?filters=%26freeformsearch=SharePoint) or are there any more helpful places that I could use?