Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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 .

@saud968@Arun@amitchandak

1 ACCEPTED SOLUTION
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 .

View solution in original post

3 REPLIES 3
v-xiandat-msft
Community Support
Community Support

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
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 .
saud968
Responsive Resident
Responsive Resident

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors