No able to create a wordpress on App service using Microsoft Sandbox

Surya Monga 20 Reputation points
2024-03-09T15:44:41.3133333+00:00

Hello,

I am trying to create a wordpress on App service using Microsoft Sandbox as a part of the learning program (AZ-900 fundamentals on coursera) but it throws an error - Resource 'mywebvm-63a9a9110617fe787fa7323b-dbserver' was disallowed by policy. (Code: RequestDisallowedByPolicy)

If I understand correctly then it means that free subscription is not allowing me to us dbserver. Let me know if Microsoft doesn't allows it in the sandbox environment.

Regards,

Surya Monga

Azure Azure Training
{count} votes

Accepted answer
  1. pnaroju 3,165 Reputation points Microsoft External Staff
    2024-03-13T20:00:18.12+00:00

    Hi Surya Monga,

    Apologies for the inconvenience caused.

    NOTE: Please conceal all your privacy details before posting the screenshots.

    As per the screenshot message "The Azure free account is only available to new users and is limited to one per customer", we cannot get another Azure free account on the same email id.

    If we want to get Azure free account, we need to sign up with a new email id using the link below:

    https://azure.microsoft.com/en-us/free/

    And additionally, we cannot change the tenant settings of Microsoft Learn Sandbox.

    When we encounter a "RequestDisallowedByPolicy" message in the Microsoft Learn Sandbox, it means that the action we are trying to perform violates one or more policies that have been put in place. These policies could be related to resource provisioning, access control, network configuration, naming conventions, or other aspects of Azure management.

    Resource Type Restriction: If we attempt to create a resource that is not allowed by the policy, we will receive this error message.

    It's important to note that policies are often put in place to enforce best practices, security standards, compliance requirements, and cost management strategies. Adhering to these policies helps ensure the integrity, security, and efficiency of the Azure environment.

    Microsoft periodically review the policies that are in effect and update accordingly within the Microsoft Learn Sandbox environment.

    Kindly find the documentation link on creation of a Wordpress site-Azure App Service as given below:

    https://learn.microsoft.com/en-us/azure/app-service/quickstart-wordpress

    In this quickstart documentation, you'll learn how to create and deploy your first WordPress site to Azure App Service on Linux with Azure Database for MySQL - Flexible Server using the WordPress Azure Marketplace item by App Service. This quickstart uses the Standard tier for your app and a Burstable, B2s tier for your database, and incurs a cost for your Azure Subscription.

    To complete this quickstart, you need an Azure account with an active subscription. Create an account for free using the link: https://azure.microsoft.com/en-us/free/

    Note: While we don’t have access to specific training materials (AZ-900 fundamentals on Coursera), we recommend exploring the following options to continue learning on AZ-900 fundamentals:

    1.Microsoft Learn: Microsoft offers self-guided study materials for the AZ-900 fundamentals. These resources can help you prepare effectively. Visit the Microsoft Learn AZ-900 page for up-to-date materials.

    Microsoft Learn provides free online learning resources for Azure. It includes:

    2.Hands-on Labs: Get practical experience.

    3.Documentation: Access detailed guidance and example code.

    To continue learning on AZ-900 fundamentals, we request you to kindly go through the below mentioned learn paths which consists of individual modules.

    1.https://learn.microsoft.com/en-us/training/paths/microsoft-azure-fundamentals-describe-cloud-concepts/

    2.https://learn.microsoft.com/en-us/training/paths/azure-fundamentals-describe-azure-architecture-services/

    3.https://learn.microsoft.com/en-us/training/paths/describe-azure-management-governance/

    These modules consist of exercises where Microsoft Learn sandboxes are provided accordingly to complete the tasks. Microsoft Learn sandbox provides a default subscription called "Concierge subscription" to complete the tasks without any charges. The sandbox automatically cleans up your resources when you're finished with any module in the learn path. Some exercises ask us to bring our own Azure subscription.

    Kindly check the below link for all the Azure Fundamentals (AZ-900) - Sandbox/Practical Exercises.

    https://learn.microsoft.com/en-us/collections/7ppetn16mm3r3e

    If the information is helpful, please accept the answer by clicking the "Upvote" and "Accept Answer" on the post.

    If you have any further queries, kindly let us know. We are glad to help you.

    Thank you.


1 additional answer

Sort by: Most helpful
  1. Dillon Silzer 57,826 Reputation points Volunteer Moderator
    2024-03-09T16:31:27.88+00:00

    Hi Surya,

    Depending on your tenant settings (where your sandbox is) it looks like there may be a policy set up to disallow this (please see solution below):

    Resolve errors for request disallowed by policy

    https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/error-policy-requestdisallowedbypolicy?tabs=azure-cli#solution

    If you continue to get this error, I would recommend signing up for Azure Free and receive $200 USD in credits:

    https://azure.microsoft.com/en-ca/free

    Also, review the FAQ for more info:

    https://azure.microsoft.com/en-ca/free/free-account-faq/

    If this is helpful please accept answer.


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.