I was trying to create a B2pts vm in Japan East with my new student subscription, but failed with the following error
it said that the deployment violate the policy
I am wondering what was going wrong, how can it be resolved
{
"authorization": {
"action": "Microsoft.Resources/deployments/validate/action",
"scope": "/subscriptions/c1635ee4-a0c6-4fc6-bcc3-613c74c5b596/resourceGroups/My_VMs/providers/Microsoft.Resources/deployments/vnet1-1773552761403"
},
"caller": "myemail",
"channels": "Operation",
"claims": {
"aud": "https://management.core.windows.net/",
"iss": "https://sts.windows.net/3c2c3a7c-0193-436b-91a6-875f74a2f1c2/",
"iat": "1773551565",
"nbf": "1773551565",
"exp": "1773556772",
"http://schemas.microsoft.com/claims/authnclassreference": "1",
"acrs": "p1",
"aio": "AeQAG/8bAAAA3P9jb13FPXkauJEjZ0B2/aapoOfVfzmWFwGJ8u72tcuYjvSlvkO2TX0sJja6pKFxITFtEnVNo2ewmYPeB9gABgj1R9wTbJnu1bYdbz35R2ZZPjp0t1HYOw40AUotEgyhk1SDKBizDJ1N1oLqwGzjbhjLPei2WX95YXYtuY2kyJhz/3XXBL/CN9OODUj7y3EL0G1W1l0G6n5RL1DSPXM6P8w8JrowP1odqmUkssd8PJKppxtjKDhOv5RKmJ8CgIqmZ+/TcOeW33gpYGII9rwYGZ37xi1EreuhZhwx2UoryLY=",
"altsecid": "1:live.com:0003BFFDFDA5C634",
"http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd,mfa",
"appid": "c44b4083-3bb0-49c1-b47d-974e53cbdf3c",
"appidacr": "0",
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress": "******@outlook.com",
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Lu",
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "Scott",
"groups": "e8b2f013-f872-4c36-bd4b-bcbdb602b784",
"http://schemas.microsoft.com/identity/claims/identityprovider": "live.com",
"idtyp": "user",
"ipaddr": "myip",
"name": "Scott Lu",
"http://schemas.microsoft.com/identity/claims/objectidentifier": "48021e42-38c5-43f2-a7da-c8b417455cd9",
"puid": "10032005B21EB8EB",
"rh": "1.AWEBfDosPJMBa0ORpodfdKLxwkZIf3kAutdPukPawfj2MBMAALphAQ.",
"http://schemas.microsoft.com/identity/claims/scope": "user_impersonation",
"sid": "0030189a-eee3-aa44-2313-4645edb0cd43",
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "vapYSeeMa3_wgwb34-W92R4GOb_JTNWM3D9velBdaoM",
"http://schemas.microsoft.com/identity/claims/tenantid": "3c2c3a7c-0193-436b-91a6-875f74a2f1c2",
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "live.com#myemail",
"uti": "PDnuaAbMJE685ft8AkV3AA",
"ver": "1.0",
"wids": "62e90394-69f5-4237-9190-012177145e10",
"xms_act_fct": "5 3",
"xms_edov": "true",
"xms_ftd": "BZnMXbLm2XIzSIxqULZIb1a1oVGwrSQSOnCyrXGdMSIBdXNzb3V0aC1kc21z",
"xms_idrel": "1 10",
"xms_sub_fct": "4 3",
"xms_tcdt": "1773549588"
},
"correlationId": "a92c9d6b-9d8f-44d1-b847-1811e2b7f49b",
"description": "",
"eventDataId": "a7dd3ca5-616e-449d-84ee-b19f8902dcfa",
"eventName": {
"value": "EndRequest",
"localizedValue": "结束请求"
},
"category": {
"value": "Policy",
"localizedValue": "策略"
},
"eventTimestamp": "2026-03-15T05:32:48.0041394Z",
"id": "/subscriptions/c1635ee4-a0c6-4fc6-bcc3-613c74c5b596/resourceGroups/My_VMs/providers/Microsoft.Network/virtualNetworks/vnet1/events/a7dd3ca5-616e-449d-84ee-b19f8902dcfa/ticks/639091495680041394",
"level": "Error",
"operationId": "a92c9d6b-9d8f-44d1-b847-1811e2b7f49b",
"operationName": {
"value": "Microsoft.Authorization/policies/deny/action",
"localizedValue": "'deny' Policy action."
},
"resourceGroupName": "My_VMs",
"resourceProviderName": {
"value": "Microsoft.Network",
"localizedValue": "Microsoft.Network"
},
"resourceType": {
"value": "Microsoft.Resources/deployments",
"localizedValue": "Microsoft.Resources/deployments"
},
"resourceId": "/subscriptions/c1635ee4-a0c6-4fc6-bcc3-613c74c5b596/resourceGroups/My_VMs/providers/Microsoft.Network/virtualNetworks/vnet1",
"status": {
"value": "Failed",
"localizedValue": "失败"
},
"subStatus": {
"value": "",
"localizedValue": ""
},
"submissionTimestamp": "2026-03-15T05:33:42Z",
"subscriptionId": "c1635ee4-a0c6-4fc6-bcc3-613c74c5b596",
"tenantId": "3c2c3a7c-0193-436b-91a6-875f74a2f1c2",
"properties": {
"isComplianceCheck": "False",
"resourceLocation": "japaneast",
"ancestors": "3c2c3a7c-0193-436b-91a6-875f74a2f1c2",
"policies": "[{\"policyDefinitionId\":\"/providers/Microsoft.Authorization/policyDefinitions/b86dabb9-b578-4d7b-b842-3b45e95769a1\",\"policyDefinitionName\":\"b86dabb9-b578-4d7b-b842-3b45e95769a1\",\"policyDefinitionDisplayName\":\"Allowed resource deployment regions\",\"policyDefinitionVersion\":\"1.0.0\",\"policyDefinitionEffect\":\"deny\",\"policyAssignmentId\":\"/subscriptions/c1635ee4-a0c6-4fc6-bcc3-613c74c5b596/providers/Microsoft.Authorization/policyAssignments/sys.regionrestriction\",\"policyAssignmentName\":\"sys.regionrestriction\",\"policyAssignmentDisplayName\":\"Allowed resource deployment regions\",\"policyAssignmentScope\":\"/subscriptions/c1635ee4-a0c6-4fc6-bcc3-613c74c5b596\",\"policyExemptionIds\":[],\"policyEnrollmentIds\":[]}]",
"eventCategory": "Policy",
"entity": "/subscriptions/c1635ee4-a0c6-4fc6-bcc3-613c74c5b596/resourceGroups/My_VMs/providers/Microsoft.Network/virtualNetworks/vnet1",
"message": "Microsoft.Authorization/policies/deny/action",
"hierarchy": ""
},
"relatedEvents": []
}