Hello,
I have build a flow that generates modern sites. These sites are copied from a site template. But each copy has activated the comments function. Now I have found a instruction to disable the comment function via flow:
https://www.rbaconsulting.com/blog/tutorial-disable-commenting-on-a-modern-sharepoint-page-using-power-automate/
But if I use the URI
_api/web/lists/GetByTitle('Site Pages')/GetItemById(ItemID)/SetCommentsDisabled
I get an error, that the list "Site Pages" cannot be found. (Yes I have inserted an ItemID).
Then I used the URI what I use to check out a modern page via flow:
/_api/SitePages/pages(ItemID)/checkoutpage
and replaced /checkoutpage through /SetCommentsDisabled.
Then I get an error "The resource for the SetCommentsDisabled request was not found."
Can anyone help me building this flow?
