question

PhilipMBuckalew-3936 avatar image
0 Votes"
PhilipMBuckalew-3936 asked MarcelvanWort-6638 answered

Azure Fundamentals Training

I am currently in the step 4 of section 2 where you build a VM using the WordPress example. After following the steps, I am receiving the following error message:

"Resource 'ServicePlane8f85340-a5b8' was disallowed by policy..."

The raw message is as follows:

The client 'live.com#philip.xxxxxxx@gmail.com' with object id 'fc38e633-a40b-4e80-b4aa-f5e17592d52d' does not have authorization to perform action 'Microsoft.Authorization/policyAssignments/read' over scope '/providers/Microsoft.Management/managementGroups/triplecrown2/providers/Microsoft.Authorization/policyAssignments/7bb64c0aa90247de8b4491c3' or the scope is invalid. If access was recently granted, please refresh your credentials. (Code: AuthorizationFailed)

I have tried several time making sure I did not miss something. Shouldn't I have the proper credentials in place to do certification training by default? Can't get beyond this issue.

azure-webapps
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Philip - I assume you have NOT successfully authorized the sandbox please recheck and try

0 Votes 0 ·
HarpreetKaurKhurana-8929 avatar image
0 Votes"
HarpreetKaurKhurana-8929 answered

The solution is to create a new app service plan with Pricing Tier F1 Free from Dev/Test. Following steps 10 to 13, should resolve the error.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ManoFaber-0189 avatar image
0 Votes"
ManoFaber-0189 answered

Got the same thing. So i went to the Home\Resource Groups\learn-f231f6cd-e5a2-49d8-8839-be19fe98719a (Concierge Subscription) and
click on Add +

You'll Enter the Azure Market Place - Getting Started

Select the WIndows 2019 DC there, most values are already there just add user and password.

No vm-sku error here. It is a V2 instead of a V3 CPU.

Works fine not just installed hte Web-Server and you can continue with the walkthrough


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RavipremCJagannatha-1731 avatar image
0 Votes"
RavipremCJagannatha-1731 answered

I am getting the same error while creating in sandbox which is available in azure fundamentals training, instead of learning i am troubleshooting ... i am not sure why you keep a non working sandbox for the people who are at learning fundamentals ... Pathetic

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

benhunt-7535 avatar image
0 Votes"
benhunt-7535 answered benhunt-7535 edited

I changed the App Service Plan to use the T1 Tier, (cheapest/free), and it worked.

Edit -- This happened because I did read the rest of the article, it will instruct you to create a service plan. I feel dumb!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

vaibhavpandey avatar image
0 Votes"
vaibhavpandey answered

For MS Learn examples - It works if you follow these steps from the CLI:
1. login by using "az loging"
2. Choose your learn subscription by setting it up using "az account set --subscription c6d12222-01e3-42ac-9284-938acd6dc451"
3. Set up your resource group by using "az configure --defaults group=learn-90e20887-0411-400a-af6d-d0cadd01716f"


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MarcelvanWort-6638 avatar image
0 Votes"
MarcelvanWort-6638 answered

The script does not update your $resourceGroupName in the script, check the right "learn-2ad4649f-3635-4bb1-bla-bla" on the Azure portal and change it to the right value

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.