Forum Discussion

pgarman's avatar
pgarman
New Member
2 years ago
Solved

OAuth for Power BI Custom Connector issues

Hello all!   I am hoping that someone has a solution or guidance.  The documentation for using OAuth in custom connectors for Power BI leaves a lot to be desired.....   Here is the experiene I am...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi  pgarman ,

     

    Based on my understanding and research, your approach of generating a Bearer Token via OAuth to access certain APIs seems to support an “anonymous” connection mode. However, it’s important to note that this Bearer Token is dynamic and typically has a validity period of one hour. If you wish to implement a method for dynamically generating the Bearer Token, you’ll need to use M query to obtain the latest Bearer Token in real-time during each data refresh. You can refer to the following links to determine if they provide any helpful insights:

    curatedsql.com

    www.linkedin.com

     

    Best Regards,

    Liu Yang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.