Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Power Bi Embedding using a service principal error

I tried to embed my power bi reports using service prinicpal so using microsoft power bi developers sample code I embedded my report but i got this error 

Error Details:
HTTPSConnectionPool(host='api.powerbi.com', port=443): Max retries exceeded with url: /v1.0/myorg/groups/60a2f105-679d-4b55-8ac7-d69a2d479546/reports/85578574-e482-4f9e-86c4-f3a8e8f20943 (Caused by NameResolutionError(": Failed to resolve 'api.powerbi.com' ([Errno 11001] getaddrinfo failed)"))

 

Help me out .

saud968Arun@amitchandak

  • Anonymous's avatar
    Anonymous
    2 years ago

    Yeah I solved but that is due to few proxy restrictions in my system , for normal systems this error will not get .

    here I shared microsoft Power bi Developers api code to embed your power bi reports in various programming languages to both your customers and organisation .
    Thanks & Regards .

3 Replies

  • saud968's avatar
    saud968
    Memorable Member

    Try to check that 'api.powerbi.com' is the correct endpoint for the Power BI service.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

    Have you solved your problem? If solved please mark the reply in this post which you think is helpful as a solution to help more others facing the same problem to find a solution quickly, thank you very much!

    Best Regards,

    Xianda Tang

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

    • Anonymous's avatar
      Anonymous
      Not applicable

      Yeah I solved but that is due to few proxy restrictions in my system , for normal systems this error will not get .

      here I shared microsoft Power bi Developers api code to embed your power bi reports in various programming languages to both your customers and organisation .
      Thanks & Regards .