Hello,
I followed this blog to create a workflow: https://www.dmcinfo.com/latest-thinking/blog/id/8661/create-site-from-template-using-sharepoint-2013-workflow
The workflow completes without errors in SharePoint but in the log e-mail that I receive I get the following error:
responsecontent: {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You are not authorized to perform this action or
access this resource."}}}
I did the elevated permissions part mentioned here: https://msdn.microsoft.com/en-us/library/office/jj822159(v=office.15).aspx
I've been trying to solve this issues for days now with a few colleagues and we don't understand where it is that we don't have sufficient permissions. We are global admins for our SharePoint Online tenant, we are site collection owners and site owners.
So, where is it that we don't have sufficient permissions? Or is it maybe the workflow app that runs with a service account that doesn't have sufficient permissions??
Can anyone help us out here?
Thanks for your time.
Regards,
Albert