Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while creating function app #53

Open
nidhichandra20 opened this issue Nov 7, 2024 · 2 comments
Open

Error while creating function app #53

nidhichandra20 opened this issue Nov 7, 2024 · 2 comments

Comments

@nidhichandra20
Copy link

nidhichandra20 commented Nov 7, 2024

Lab 2: Create a Custom Skill for Azure AI Search
Cannot create a function . Tried in various regions still the same error . It gives an error
image

@ivorb
Copy link
Collaborator

ivorb commented Nov 14, 2024

this was tested successfully this week - are you still having issues? might have been an intermittent product bug

@jjelosua
Copy link

jjelosua commented Dec 3, 2024

I am still facing issues while creating a Function App: "{"code":"InvalidTemplateDeployment","details":[{"code":"RequestDisallowedByPolicy","target":"FunctionApp46344302","message":"Resource 'FunctionApp46344302' was disallowed by policy. Policy identifiers: '[{"policyAssignment":{"name":"ai102_LP5_V1*","id":"/providers/Microsoft.Management/managementGroups/lod-org-363-pool-729-lab154265/providers/Microsoft.Authorization/policyAssignments/policyAssignment2735"},"policyDefinition":{"name":"ai102_LP5_V1*","id":"/providers/Microsoft.Management/managementGroups/lod-org-363-pool-729-lab154265/providers/Microsoft.Authorization/policyDefinitions/policy2735"}}]'.","additionalInfo":[{"type":"PolicyViolation","info":{"evaluationDetails":{"evaluatedExpressions":[{"result":"False","expressionKind":"Field","expression":"type","path":"type","expressionValue":"Microsoft.Web/sites","targetValue":"Microsoft.web/serverfarms","operator":"Equals"},{"result":"False","expressionKind":"Field","expression":"id","path":"id","expressionValue":"/subscriptions/4ce44305-7594-411f-ad28-b939b6978b7a/resourceGroups/ai102lab12/providers/Microsoft.Web/sites/FunctionApp46344302","targetValue":"/resourceGroups/ResourceGroup1/","operator":"Contains"},{"result":"False","expressionKind":"Field","expression":"type","path":"type","expressionValue":"Microsoft.Web/sites","targetValue":"Microsoft.AlertsManagement/smartDetectorAlertRules","operator":"Contains"},{"result":"False","expressionKind":"Field","expression":"type","path":"type","expressionValue":"Microsoft.Web/sites","targetValue":"Microsoft.BotService/botServices","operator":"Contains"},{"result":"False","expressionKind":"Field","expression":"type","path":"type","expressionValue":"Microsoft.Web/sites","targetValue":"Microsoft.CognitiveServices/accounts","operator":"Contains"},{"result":"False","expressionKind":"Field","expression":"type","path":"type","expressionValue":"Microsoft.Web/sites","targetValue":"Microsoft.ManagedIdentity/userAssignedIdentities","operator":"Contains"},{"result":"False","expressionKind":"Field","expression":"type","path":"type","expressionValue":"Microsoft.Web/sites","targetValue":"Microsoft.OperationalInsights/workspaces","operator":"Contains"},{"result":"False","expressionKind":"Field","expression":"type","path":"type","expressionValue":"Microsoft.Web/sites","targetValue":"Microsoft.Insights/ActionGroups","operator":"Contains"},{"result":"False","expressionKind":"Field","expression":"type","path":"type","expressionValue":"Microsoft.Web/sites","targetValue":"microsoft.insights/components","operator":"Contains"},{"result":"False","expressionKind":"Field","expression":"type","path":"type","expressionValue":"Microsoft.Web/sites","targetValue":"Microsoft.Search/searchServices","operator":"Contains"},{"result":"False","expressionKind":"Field","expression":"type","path":"type","expressionValue":"Microsoft.Web/sites","targetValue":"Microsoft.Storage/storageAccounts","operator":"Contains"}]},"policyDefinitionId":"/providers/Microsoft.Management/managementGroups/lod-org-363-pool-729-lab154265/providers/Microsoft.Authorization/policyDefinitions/policy2735","policyDefinitionName":"policy2735","policyDefinitionDisplayName":"ai102_LP5_V1*","policyDefinitionEffect":"deny","policyAssignmentId":"/providers/Microsoft.Management/managementGroups/lod-org-363-pool-729-lab154265/providers/Microsoft.Authorization/policyAssignments/policyAssignment2735","policyAssignmentName":"policyAssignment2735","policyAssignmentDisplayName":"ai102_LP5_V1*","policyAssignmentScope":"/providers/Microsoft.Management/managementGroups/lod-org-363-pool-729-lab154265","policyAssignmentParameters":{},"policyExemptionIds":[]}}]}],"message":"The template deployment failed with multiple errors. Please see details for more information."}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants