Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Get the Power BI Tenant ID via Power Query

Is there a way for Power Query to read the Power BI Tenant ID for the Power BI Tenant that the Power Query commands are running in?

2 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks for the suggestion.  I had not thought about that approach.

       

      I have found a way to achieve my actual end goal, so I don't need this exact data at this time.

       

      It would be nice to be able to know what Dataset ID, Workspace ID, and/or Tenant ID, etc. that the Power Query steps are running in, without having to grant API access or provide the necessary API credentials.