If you are getting the following permission/authentication error between the Power BI template and the underlying API being called, follow the steps below to resolve this:
- Go to the Data source settings under the Home tab:
- To see the actual error, click on Edit Permissions… (important: make sure the correct URL is selected, in this example it is https://insights.us.mixtelematics.com)
- The credentials type must always be Anonymous for the PAT to be used instead.
- To set the Credentials, click Edit.
- Make sure Anonymous is selected as indicated.
- Click Save
- The Privacy Level must be set to public since the data being accessed is public.
- Click OK and close the Data source settings window.
- Depending on the prompt, click either Apply changes or the Refresh button on the top of the screen.
The data will now load successfully.
Recommended reading