admin workstation for access

Vivak Hangloo 91 Reputation points
2020-10-19T08:12:23.787+00:00

we need to controll admin access for our azure/O365 portal from only a couple of machines ono our network . (like admin terminal servers)

Q: How can be block access to Admin portals for our O365/Azure from everywhere else and only allow from this admin terminal server

Q:What IP's and URL does the admin Terminal server need access to manage using powershell and portals
We do not allow full internet access to the admin terminal server so have to specify which IP's and URL they need to access to manage all MS 365 and Azure services.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,871 Reputation points Moderator
    2020-10-19T08:51:35.817+00:00

    Hello @Vivak Hangloo · Thank you for reaching out. Please find my response inline.

    Q: How can be block access to Admin portals for our O365/Azure from everywhere else and only allow from this admin terminal server?

    Yes, we can restrict access to Azure Portal only from specific server/servers by using Condition Access Policy, which is a feature included with Azure AD Premium P1 License.

    Steps:

    • Navigate to Azure Portal > Azure Active Directory > Security > Conditional Access > Named locations > +New Location > Type a name and add IP address that you want to allow Azure Portal access from. To add a specific IP use /32 CIDR value as shown below:
      29287-image.png
    • Navigate to Azure Portal > Azure Active Directory > Security > Conditional Access > Policies > +New Policy > Configure below settings:
    • Users and Groups : Select required users.
    • Cloud apps or actions : Select apps > Microsoft Azure Management.
    • Conditions : Locations > Include > Any location. Exclude > select the location created in first step,.
    • Grant : Block access
    • Enable policy > On > Click on Create button.

    This will block access to Azure Portal from Any location, except your custom location.

    Q: What IP's and URL does the admin Terminal server need access to manage using PowerShell and portals?

    The required IP Ranges and Ports to access O365 and Azure are documented here: https://learn.microsoft.com/en-us/microsoft-365/enterprise/urls-and-ip-address-ranges?view=o365-worldwide

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.