Forum Discussion
Timeout getting Auth Token from MS Graph or PBI API
- 1 year ago
Yes. The issue seems to have gone away about 3 days ago across all tenants at the same time. First level support doest seem to know much. I'm happy it's fixed but a little disappointed in the lack of understanding and communication.
Hi jake_BIV ,
My recommendation will be getting tenant id, client id,client secret from your organisations AD team, with this details you can create one function to generate access token and you can pass it through your m-query.I'm doing the same to pull data from MS graph.
I hope it will be helpful.
Thanks,
Sai Teja
SaiTejaTalasila
That is what this query was doing. It was generating the token (from the Tenant, Client, Secret parameters), then passing to the next query.
The problem is that its not generating an access token. Do you have an example of the m-code function you are using to generate the token? Is it working in Power BI Service? Is it different than the M-Script I provided?