Attched is a version with two changes:
- An update to the payload to fetch the list of Sisense datasources (ECM API) to work with the newer versions of Sisense.
- A fallback conditional where if changing a dashboard owner with “adminAccess” returned a 403 error, the same request was tried again without “adminAccess”.