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

Felix Arvidsson 1 Reputation point
2021-05-06T06:50:06.837+00:00

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?

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,431 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,761 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Martin Day 151 Reputation points
    2021-06-02T17:12:02.223+00:00

    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

    0 comments No comments