We have a requirement to restrict Azure DevOps service only from our Azure Virtual Desktop environment.
We have deployed Azure AD Premium P2 with conditional access restricting to internal IP Range but problem is while using Azure Virtual Desktop the outgoing public ip is dynamic. We don't want to use NAT Gateway.
Is there any alternative using conditional access policy to restrict DevOps? Please help.
Thanks
Maybe not the best solution but you can narrow the list of IPs by the region using this, dynamically updated, list of IPs: https://www.microsoft.com/en-us/download/details.aspx?id=56519.
e.g. for WEU it is:
However agree with a @jamiecon, NAT Gw and you good to go.