Azure / SimuLand

Understand adversary tradecraft and improve detection strategies
MIT License
700 stars 80 forks source link

SetupADFS VM Extension Failing, SetupDC VM Extension failing with 403 Forbidden message #30

Closed iknowjason closed 2 years ago

iknowjason commented 2 years ago

Overview

The installation of ADFS and DC's VM extension is failing. I've been trying to debug where exactly this is failing. I'm getting a 403 Forbidden, Failed to download all specified files. Exiting. Error Message: The remote server returned an error: (403) Forbidden. Is there something that can be looked into further on the 403 Forbidden error?

Verbose error JSON:

{
    "status": "Failed",
    "error": {
        "code": "VMExtensionProvisioningError",
        "message": "VM has reported a failure when processing extension 'SetUpADFS'. Error message: \"Failed to download all specified files. Exiting. Error Message: The remote server returned an error: (403) Forbidden.\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSEWindowsTroubleshoot "
    }
}

Images

Image showing provisioning failed

Screen Shot 2022-07-23 at 2 26 48 PM

Image showing status message

Screen Shot 2022-07-23 at 2 27 02 PM

Expected Result

The VM extensions return OK / Success for the DC and ADFS.