We have automated a process that we repeat at the start of every project in our company. The automation starts with an input form and, with that info, it sets up a space, create/set standard apps/scripts used in every project, creates a sharepoint site... until there all good.
Now, we would like to automate the creation of the SharePoint connector that the apps will use to connect to the new sharepoint site created in a previous step. I plan to do that using a Call URL block.
My session already has a SharePoint Access Token that I have requested to MS-Graph in order to create the sharepoint site, so I suppose I can use that one -given that I set up the right scope in graph, as I believe I did-, to identify Qlik against SharePoint during the creation of the new connector.
The headers in my POST request must be OK because I use them in other qlik endpoints and it works.
{
"status": 403,
"errors": [
{
"code": "DCAAS-2001",
"title": "Data source is not enabled",
"meta": {
"description": "datasource 'undefined' not found or is not enabled"
}
}
]
}