Forum Discussion
joolzfawcett
5 years agoNew Member
Authorization fails trying to invoke PowerBI Rest API from C# Function App
I am trying to implement a C# Azure Function App to use the PowerBI Rest API to extract information about workspaces etc in our tenant. As a starting point I used Jeff Pries's excellent blog post...
Anonymous
5 years agoNot applicable
HI joolzfawcett,
Maybe you can try to refer to the following document sample codes to replace the get token parts and test to confirm if this token works on your side.
Step 2: Get an authentication access token
Please also take a look at the best practice of azure function if it helps:
Best practices for performance and reliability of Azure Functions
Regards,
Xiaoxin Sheng