Creating an Azure Ai Foundry Project

rosasb 0 Reputation points
2025-03-04T07:11:14.5533333+00:00

When I try to create a new project in the Ai Foundry, I get this error:
Error loading Azure AI projectYou are attempting to access a restricted resource from an unauthorized network location. Please contact your administrator or follow the troubleshooting instructions here.Back to all projects

AI Project Diagnostics

Application InsightsCode: UnableToCheckDependencyResourceMessage: Unable to check settings on resource ''.

OtherCode: PublicNetworkAccessDisabledMessage: You cannot use Azure Machine Learning because the PublicNetworkAccess property is set to Disabled on the workspace Please follow https://aka.ms/amlui-

The link is cut off so I can't follow the link. Even when I create a Azure Machine Learning workspace with public network acces, I still get the same error. Pleae advise, thank you in advance!

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,203 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Manas Mohanty 1,530 Reputation points Microsoft External Staff
    2025-03-04T08:40:35.29+00:00

    Hi rosasb

    The below error indicates you are not in same network as of virtual network from point of access.

    1.As public access is disabled on your org, we need to use Azure VPN client (p2s connection if you are trying access from home, s2s if on premise network) or Bastion (A VM created with same virtual network of your AI foundry resource) to access our resources.

    Error loading Azure AI projectYou are attempting to access a restricted resource from an unauthorized network location. Please contact your administrator or follow the troubleshooting instructions

      

    2.If you are already using VPN client or Bastion to connect to your resource, please check whether DNS is resolving to private ips as mentioned in DNS config.

    nslookup <fqdnofyourairesource> ---> private ip of resource (10.0.0.5 , a private ip from your virtual network)
    

       

    3.Reprovision the managed network private endpoints if they are inactive state. (assuming you are already VPN client or some interface to be in your virtual network)

    Check whether managed network are active.

    az ml workspace show -n my_ai_hub_name -g my_resource_group --query managed_network
    

    Reprovision managed network manually from CLI

    az ml workspace provision-network -g my_resource_group -n my_ai_hub_name
    

    Reference:

    Virtual network for AI foundry (Uses both workspace managed internet outbound access and workspace managed allow only approved outbound access to create Private endpoint connections with Azure Manager virtual network),

    DNS config issues

    Hope the pointers address your issues.

    Thank you.

    0 comments No comments

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.