MicrosoftLearning / AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure

AZ-800
https://microsoftlearning.github.io/AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure/
MIT License
80 stars 87 forks source link

AZ-800 Lab 6, Exercise 1 #68

Open mikegrant5 opened 1 month ago

mikegrant5 commented 1 month ago

Module/Lab: 06

Exercise: 01

Task: 01

Step: 02

Description of issue Cannot activate Defender for Cloud by clicking "Upgrade" Repro steps:

  1. From the Microsoft Defender for Cloud | Getting started page, enable enhanced security of Microsoft Defender for Cloud and enable automatic Microsoft Defender for Cloud agent installation
  2. Reason: Microsoft seem to have changed all trials (this would be a 30 day trial) to demand billing details before allowing the trial - this means in a Cloud Slice lab, that no student (or instructor) is going to be able to do that, or want to do that.

This also spoils later parts of the lab

Relevant screenshots

dvimacedo commented 3 weeks ago

Hi @mikegrant5, thank you for the feedback on the lab. Could you give some more information regarding the environment where you are running the lab?

mikegrant5 commented 3 weeks ago

Skillable use a “cloud slice” environment where it is heavily curated/restricted by Azure Policies.

I didn’t check which policies they had applied, but I also let them know the problem and they acknowledged it but have not come back with a solution.

I am currently on vacation with limited internet access, but upon my return, I will run that lab under Skillable and then also in my own uncurated Azure subscription With screen shots.

Mike MCT 341946 Tel: +44 (0)208 201 9818 Cell: +44 (0)794 907 2845

email: @.***

This email is confidential and may contain legally privileged information.

You should not disclose its contents to any other person. If you are not the intended recipient, please notify the sender immediately


From: dvimacedo @.> Sent: Wednesday, August 14, 2024 6:50:30 AM To: MicrosoftLearning/AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure @.> Cc: Mike Grant @.>; Mention @.> Subject: Re: [MicrosoftLearning/AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure] AZ-800 Lab 6, Exercise 1 (Issue #68)

You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification

Hi @mikegrant5https://github.com/mikegrant5, thank you for the feedback on the lab. Could you give some more information regarding the environment where you are running the lab?

— Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftLearning/AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure/issues/68#issuecomment-2288536191, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFYWDN7Q5BDM5F44GOMXSQDZRNAANAVCNFSM6AAAAABKVIK4IKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBYGUZTMMJZGE. You are receiving this because you were mentioned.Message ID: @.***>

mikegrant5 commented 1 week ago

I have found what the problem is:

(i) It seems to be a problem when generating the template here (you do not get the problem, if you pre-save the template files just before deploying the original vm)

@.***

When using the template.json and parameters.json files (generated by the above) in a "custom template" deployment, if you select "Edit parameters" having loaded and saved the template.json, then you get the below, but if you then choose "load file" and select the parameters.json file, then it loads the blank one (shown above), whereas the one above, used to contain pre-filled values, which you could then change on subsequent deployments.

@.***

(ii) Deploying with the above parameters (I changed the names as the existing VM would clash, and it still fails as per below:

@. @*.**@*.***

(iii) Same thing happens if I load the parameters.json (which then inherits the values from the template.json anyway)

(iv) If I try a custom template deployment with the previously saved .json files from when I created the original vm (just prior to deploying it), it all works just fine. This seems to be because the original json files have a complete specification, whereas the ones created by exporting from the resource group are much shorter and do not contain what is needed for a successful deployment.

So, in summary, it seems that the Azure Portal menus have introduced a fault in not generating the correct template. As stated above, you do not get the problem, if you pre-save the template files just before deploying the original vm.

I have attached the two sets of template and parameters json files; the ones with the RG_ prefix come from exporting the template files from the resource group.

Hope this helps

Mike

From: Mike Grant @.> Sent: Wednesday, August 14, 2024 1:00 PM To: MicrosoftLearning/AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure @.>; MicrosoftLearning/AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure @.> Cc: Mention @.> Subject: Re: [MicrosoftLearning/AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure] AZ-800 Lab 6, Exercise 1 (Issue #68)

Skillable use a "cloud slice" environment where it is heavily curated/restricted by Azure Policies.

I didn't check which policies they had applied, but I also let them know the problem and they acknowledged it but have not come back with a solution.

I am currently on vacation with limited internet access, but upon my return, I will run that lab under Skillable and then also in my own uncurated Azure subscription With screen shots.

Mike MCT 341946 Tel: +44 (0)208 201 9818 Cell: +44 (0)794 907 2845

email: @.**@.>

This email is confidential and may contain legally privileged information.

You should not disclose its contents to any other person. If you are not the intended recipient, please notify the sender immediately


From: dvimacedo @.**@.>> Sent: Wednesday, August 14, 2024 6:50:30 AM To: MicrosoftLearning/AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure @.**@.>> Cc: Mike Grant @.**@.>>; Mention @.**@.>> Subject: Re: [MicrosoftLearning/AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure] AZ-800 Lab 6, Exercise 1 (Issue #68)

You don't often get email from @.**@.>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification

Hi @mikegrant5https://github.com/mikegrant5, thank you for the feedback on the lab. Could you give some more information regarding the environment where you are running the lab?

- Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftLearning/AZ-800-Administering-Windows-Server-Hybrid-Core-Infrastructure/issues/68#issuecomment-2288536191, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFYWDN7Q5BDM5F44GOMXSQDZRNAANAVCNFSM6AAAAABKVIK4IKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBYGUZTMMJZGE. You are receiving this because you were mentioned.Message ID: @.**@.>>