Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Google Maps API - Https Key Restrictions

So I've successfully connected the Google Maps API to my PowerApp for internal company use within SharePoint - all good so I thought until I went to restrict the API Key.


I added multiple https key restrictions for my org - *mysharepointsite/* even the tenant id, etc and the map stops working. I get a 403 forbidden error in the console.


Weirdly the app continues to work on my mobile app version using the internet. So I'm thinking either its the company firewall - but this wasn't blocking it when it was unrestricted - does it use a different port when its unrestricted?


I've read somewhere that the Google Static Map API http restrictions only work with public domains - is that correct and would I therefore need to use IP ranges?


Any help gratefully received!



Community Support
Community Support

Re: Google Maps API - Https Key Restrictions

Hi @matt_batchelor ,

Do you add https key restrictions for your SP Site and Tenant Id?


If you have added https key restrictions for your SP Site and Tenant Id, I think this is the issue. Please consider remove the https key restrictions for your SP Site and Tenant Id, then check if the issue is fixed.


Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!


Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.


Super Users Coming in August

We are excited for the next Super User season.


Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,168)