Azure app.Networking.How create rule for Share Point Online?

Nerobov Andrey 96 Reputation points
2021-03-01T10:49:10.663+00:00

Hello !
I would lilke to restrict networking access to azure app for all ip addresses exclude SharePoint Online, but I don't know SharePoint Online has static or dynamic IP address. Please tell me, what I have to write this (App Service->Settings->Networking->Acess Restrinction)?(attach the screen ).How get IP address of my site collection? I try create allow rule for SharePoint Online.Thanks! 73041-%D1%81%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA.png

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,989 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,135 questions
{count} votes

Accepted answer
  1. Nerobov Andrey 96 Reputation points
    2021-03-05T09:45:21.92+00:00

    @Jerryzy-MSFT thanks, I have added IP adresses in Address Block from Office 365 URLs and IP address range of my company , but it haven't helped. We have SharePoint Web Part and it sends request to Azure Service. If I add IP range of my company and I make request from company, it works well,but if I disconnecting from the company's network, it doesn't work . I think Web Part does IP address forwarding of client, how I can understand that a request has been made from SharePoint Web Part?


1 additional answer

Sort by: Most helpful
  1. Jerryzy 10,566 Reputation points
    2021-03-04T01:43:42.46+00:00

    Hi @Nerobov Andrey ,

    The SharePoint Online Tenant IP is static and can be checked with Browser Developer Tool Network tab by enabling the Remote Address with right click:

    73985-snipaste-2021-03-04-09-36-38.png

    74036-snipaste-2021-03-04-09-41-19.png

    This IP can be used for IP Address Block.

    And here is an official document with SharePoint Online IP Address range for your reference:

    Office 365 URLs and IP address ranges

    Thanks
    Best Regards


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments