question

FelixArvidsson-4428 avatar image
0 Votes"
FelixArvidsson-4428 asked MartinDay edited

Which URLs need to be open in Firewall for graph to work

Hello!
We're trying to make some graph API calls from a server with very strict networking and firewall policys.

So in order for us to be able to use graph we need to whitelist every url that the graph api is depends on.

Can you help us with providing a list with URLs needed for graph?

office-sharepoint-onlinewindows-api
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MartinDay avatar image
0 Votes"
MartinDay answered MartinDay edited

Hello there!

As the Graph API is a RESTful API using HTTPS calls, there will technically be a unique URL for each call. However, assuming you want to use v1.0 of the API, all URLs will start with "https://graph.microsoft.com/v1.0/*".

You could whitelist "https://graph.microsoft.com/*" to allow for use of different versions of the API.

For authentication purposes, you will also need to allow calls to "https://login.microsoftonline.com/<YOURORGNAME>.onmicrosoft.com/*"

Hope this helps!

Martin

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.