Replace an expired API token in Power BI

  • 15 February 2022
  • 0 replies
  • 350 views

Userlevel 5
Badge +14

Topic

How do I replace an expired Nintex Promapp API token in Power BI?

Instructions

  1. Select your account menu > My Profile.
    25046iA717394D52C8FBC7.png
  2. In the My Profile section, locate Access Tokens.
    25047iE7E0F0884B075F2E.png
  3. Click the bin icon next to the expired API token to revoke it.
    25048i0852FC155FF5F388.png
  4. Generate a new API token by clicking Create Token.
    25049i1C71D79800FD1015.png
  5. Give the new API token a concise name in the Description field, set the scope to Reporting, and click Save.
    25050i5F420857CE95D910.png
  6. The new API token is created and displayed. Ensure to copy the new API token and save it someplace, as you will not be able to get it once the panel has been closed.
    25051i1790ED39C1EAC2E1.png
  7. Open PowerBI.
  8. From the Home tab, select Transform data > Transform data.21438i9A0FB38ABA195EE7.png
  9. The Power Query Editor window opens.
  10. In the left Queries pane, locate API Key.21439i57F2E1CBE12ADF0F.png
  11. Right click API Key and select Delete.
    21437i51C091C3056C91AA.png
  12. Add a new API Key by selecting Manage Parameters > Manage Parameters.
    21440i019820D898257DA5.png
  13. In the Manage Parameters windows, click New.
    21441i63068B8070027844.png
  14. Make sure to fill in the fields as shown below:
    Name: API Key
    Description: Promapp Reporting API Key
    Required: Selected
    Type: Text
    Suggested Values: Any value
    Current Value: Paste the API token you copied in Step 6 above.
  15. Click OK.
  16. Click the Refresh Preview > Refresh All.
    Note: The refresh may take between 5 to 10 minutes.21442iBE16CC4EDF921BD3.png
  17. Select one of your tables via the Queries pane.
  18. Click Advanced Editor.
    21444i85A97DAA4C5B8367.png
  19. In the Advanced Editor window, ensure that the API Key has been updated with the new API token set in Step 14 above.
  20. If the API Key still shows the old key, remove the old key, add the new key, close the window, and refresh the data as shown in Step 16 above.
  21. If you are asked to login with your credentials, ensure access is set to Anonymous and click Save.
    21445iEB10676B2C782EE2.png
  22. The API key is now updated.
  23. Close Power Query Editor by clicking Close & Apply.
  24. From the main Power BI page, click Refresh to update your data.
    Note: The refresh may take a few minutes.21446i3AD9D4BB0045856F.png

Additional Information

If you need any assistance, please contact Promapp Support via Help > Contact Support.


0 replies

Be the first to reply!

Reply