Hi, Greetings for the day,
In SharePoint Online, I created a SharePoint Designer Workflow to add user to a group using below blog. It was working fine until last week and it stopped working from this week all of sudden. I did not make any changes since its created. Its throwing below error. I verified permissions for an account which was used to publish workflow, its in site collection administrators and nothing changed. I verified site features and site app permissions, the app step feature is activated and workflow app permissions entry is still there in Site App Permissions. As part of troubleshooting, I deactivated app step feature and reconfigured permissions, but it did not help. I created same workflow in different tenant, its working fine there. I am not sure what's the issue with this tenant.
Please let me know if anyone has experienced this issue in the past and if any resolution steps for it. Thanks in advance!
Error:
Response code: Forbidden
Response content: {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You do not have permission to perform this action
or access this resource."}}}
Blog
http://codelesssharepointinfopath.com/workflow-useful-rest-calls-add-user-to-group/
Thanks
-Srini