To all asking, we are still not able to resolve the issue. We are still hoping someone will answer. But meanwhile, we went on using microsoft flow tool, instead of APIs
sharepoint REST API for Project Data
We have to consume sharepoint project information using rest API's with the access token generated from a registered app
https://medium.com/@anoopt/accessing-sharepoint-data-using-postman-sharepoint-rest-api-76b70630bcbf
However we are running into below error when getting the product tasks with this URL. (Which works when accessed via browser/cookie access)
https://xxxxxx.sharepoint.com/sites/pwa/\_api/ProjectData/Projects(guid'xxxxxx')/Tasks
{
"odata.error": {
"code": "-1, System.InvalidOperationException",
"message": {
"lang": "en-US",
"value": "User:<customercontent></customercontent> not found in Active directory or in project db."
}
}
}
Any help to get past this error would be greatly appriciated.
Microsoft 365 and Office SharePoint For business Windows
2 answers
Sort by: Most helpful
-
-
Ranjeet K. Singh 1 Reputation point
2022-10-08T17:59:47.987+00:00 Hello All,
Please follow steps suggested in below YouTube video. It's working for me.