SOLVED

Issues with Microsoft Learn exercise - "Create a website hosted in Azure"

%3CLINGO-SUB%20id%3D%22lingo-sub-2830489%22%20slang%3D%22en-US%22%3EIssues%20with%20Microsoft%20Learn%20exercise%20-%20%22Create%20a%20website%20hosted%20in%20Azure%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2830489%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20complete%20a%20Microsoft%20Learn%20Exercise%20%22Create%20a%20website%20hosted%20in%20Azure%22%20in%20order%20to%20study%20for%20the%20AZ-900%20Azure%20Fundamentals%20exam.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20exercise%20is%20here%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Flearn%2Fmodules%2Fazure-architecture-fundamentals%2Fexercise-create-website%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Flearn%2Fmodules%2Fazure-architecture-fundamentals%2Fexercise-create-website%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20options%20I%20get%20when%20configuring%20the%20WordPress%20website%20are%20not%20the%20same%20as%20what%20appears%20in%20the%20exercise%2C%20and%20when%20I%20go%20to%20review%20I%20get%20an%20error%20message%20that%20the%20template%20deployment%20failed%20with%20multiple%20errors.%20The%20resources%20were%20disallowed%20by%20policies%20'app-service-sku-policy'%20and%20'Allowed%20resource%20types'%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20completed%20this%20exercise%20with%20no%20issues%20back%20in%20May%2C%20tried%20it%20again%20in%20October%20and%20I'm%20getting%20these%20errors.%20I%20wonder%20if%20Word%20Press%20has%20changed%20their%20app%20in%20the%20Azure%20Marketplace%20and%20it%20no%20longer%20work%20with%20the%20tutorial%3F%20Has%20anyone%20been%20able%20to%20complete%20this%20exercise%20recently%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20Attachments%20show%20the%20options%20that%20I%20get%20when%20configuring%20the%20Word%20Press%20app%20as%20opposed%20to%20what%20the%20tutorial%20says%20I%20should%20get%2C%20and%20the%20error%20message%20I%20get.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20is%20really%20appreciated%2C%20thank%20you!%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EJanelle%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2830489%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EHands-on-Labs%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2842686%22%20slang%3D%22en-US%22%3ERe%3A%20Issues%20with%20Microsoft%20Learn%20exercise%20-%20%22Create%20a%20website%20hosted%20in%20Azure%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2842686%22%20slang%3D%22en-US%22%3E%3CP%3EHey%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1180909%22%20target%3D%22_blank%22%3E%40Janelle12%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20link%20you%20posted%20gave%20me%20a%20404%20so%20unfortunately%20I%20can't%20see%20the%20steps%20they%20ask%20you%20to%20follow.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20error%20message%20is%20telling%20you%20that%20there%20is%20a%20policy%20set%20against%20your%20subscription%20(or%20resource%20group)%20that%20will%20not%20allow%20the%20SKU%20tier%20for%20the%20App%20Service%20plan.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20are%20using%20a%20Sandbox%20environment%2C%20sometimes%20this%20is%20set%20to%20only%20allow%20the%20Free%20tier.%20Make%20sure%20the%20template%20or%20settings%20you%20are%20using%20is%20targeting%20the%20Free%20(F1)%20SKU.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESee%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fpricing%2Fdetails%2Fapp-service%2Fwindows%2F%23pricing%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fpricing%2Fdetails%2Fapp-service%2Fwindows%2F%23pricing%3C%2FA%3E%26nbsp%3Bfor%20reference%20on%20the%20Tiers.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20get%20any%20more%20insight%20or%20information%20from%20this%2C%20let%20me%20know.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EUpdate%3A%3C%2FSTRONG%3E%20I%20just%20looked%20at%20the%20Template%20for%20the%20Word%20Press%20deployment%20and%20it%20needs%20the%20PremiumV2%20SKU.%20Your%20subscription%20may%20not%20support%20that%20depending%20on%20if%20it%20is%20free%20or%20PAYG.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22omarmciver_0-1634142617310.png%22%20style%3D%22width%3A%20274px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F317092i6B2C8F3DE13A2FFC%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22omarmciver_0-1634142617310.png%22%20alt%3D%22omarmciver_0-1634142617310.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20assume%20they%20made%20this%20change%20for%20a%20valid%20reason%20which%20means%20this%20tutorial%20will%20no%20longer%20work%20unless%20you%20have%20a%20subscription%20that%20supports%20that%20particular%20SKU.%20You%20could%20try%20downloading%20the%20template%20to%20deploy%20yourself%20and%20changing%20the%20SKU%20values%2C%20but%20I'm%20not%20sure%20if%20this%20will%20result%20in%20a%20functioning%20site.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMany%20Thanks%3C%2FP%3E%3CP%3EOmar%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi,

 

I am trying to complete a Microsoft Learn Exercise "Create a website hosted in Azure" in order to study for the AZ-900 Azure Fundamentals exam.

 

The exercise is here:
https://docs.microsoft.com/en-us/learn/modules/azure-architecture-fundamentals/exercise-create-websi...

 

The options I get when configuring the WordPress website are not the same as what appears in the exercise, and when I go to review I get an error message that the template deployment failed with multiple errors. The resources were disallowed by policies 'app-service-sku-policy' and 'Allowed resource types'

 

I completed this exercise with no issues back in May, tried it again in October and I'm getting these errors. I wonder if Word Press has changed their app in the Azure Marketplace and it no longer work with the tutorial? Has anyone been able to complete this exercise recently?

 

The Attachments show the options that I get when configuring the Word Press app as opposed to what the tutorial says I should get, and the error message I get.

 

Any help is really appreciated, thank you!


Janelle

 

2 Replies
best response confirmed by Janelle12 (New Contributor)
Solution

Hey @Janelle12,

 

The link you posted gave me a 404 so unfortunately I can't see the steps they ask you to follow.

 

The error message is telling you that there is a policy set against your subscription (or resource group) that will not allow the SKU tier for the App Service plan.

 

If you are using a Sandbox environment, sometimes this is set to only allow the Free tier. Make sure the template or settings you are using is targeting the Free (F1) SKU.

 

See https://azure.microsoft.com/en-us/pricing/details/app-service/windows/#pricing for reference on the Tiers.

 

If you get any more insight or information from this, let me know.

 

Update: I just looked at the Template for the Word Press deployment and it needs the PremiumV2 SKU. Your subscription may not support that depending on if it is free or PAYG.

 

omarmciver_0-1634142617310.png

 

I would assume they made this change for a valid reason which means this tutorial will no longer work unless you have a subscription that supports that particular SKU. You could try downloading the template to deploy yourself and changing the SKU values, but I'm not sure if this will result in a functioning site.

 

Many Thanks

Omar

Omar, thank you so much for looking into my issue in detail. I will look further into what subscriptions I have on my account. I am using the sandbox environment that is created as part of the tutorial - the tutorial gives the user a button to click to set up the sandbox
(we get a certain number of free sandboxes a day). I followed the instructions to then try and deploy the Word Press site in that sandbox. If the sandbox only allows the free tier I wonder why the tutorial would include a deployment using the premium tier? I'm still thinking the Word Press app itself may have been updated and Microsoft haven't yet had time to update the tutorial, could that be right?

Thanks again for your help

Janelle