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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Restriction google map api

Hello,

I have a report that uses the Google Maps API, everything is working, however IT needs to restrict the use of the key to the report. We tried using the restriction: https://app.powerbi.com/* and it doesn't work. Do you have any idea?

 

Thanks!!!

2 REPLIES 2
Anonymous
Not applicable

Hi, @Anonymous 

If you wannt to restrict your Google Maps API key, follow these steps:

1. Go to the Google Maps Platform Credentials page.
2. Select the API key that you want to set a restriction on.

3. Under “Key restrictions,” configure the following:
      Application restrictions: Specify the websites or apps that are allowed to use the API key. You can use wildcards (e.g., ) to cover multiple subdomains.*.example.com
      API restrictions: Choose which APIs the key can access (e.g., Maps JavaScript API, Places API, etc.).
4. Click “Save” to finalize your changes.
Use API Keys  |  Maps JavaScript API  |  Google for Developers

You can refer to the link below for a similar question:
Solved: API keys for google maps - Microsoft Fabric Community

Best Regards,
Yang

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know.
Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum



Anonymous
Not applicable

Hello, thank you for your response. However, we have already made the configurations indicated in your reply. We have restricted to the following web addresses: *.app.powerbi.com*, *.app.powerbi.com/, *.app.power.com/*, https://app.powerbi.com/*, and unfortunately, the API is blocking the functionality. Could you please specify the exact web address that needs to be entered so that the API works with our Power BI reports? Normally, entering the generic site app.powerbi.com should work.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.