aws-quickstart / quickstart-microsoft-rdgateway

AWS Quick Start Team
Apache License 2.0
48 stars 87 forks source link

Automation fails for Domain Joined RDP GW - Existing VPC during Step 7: configurerdgw #58

Open ritzdan opened 1 year ago

ritzdan commented 1 year ago

Deploying via CloudFormation. EC2 resource is created via ASG and fails during the Systems Manager automation. Confirmed that previously supplied domain credentials are for 'Domain Admin'

Here is the output from Systems Manager Automation Step 7: configurerdgw:

Creating DSC Certificate to Encrypt Credentials in MOF File
Exporting the public key certificate

    Directory: C:\

Mode                LastWriteTime         Length Name                          
----                -------------         ------ ----                          
-a----        2/21/2023   7:50 PM            862 EC2AMAZ-8PMN9QH.cer           
Setting Default CAP
Failed to set Default CAP Access to the object at RDS:\GatewayServer\CAP\Default-CAP is denied for the cmdlet New-Item.The supplied value is not valid, or you do not have sufficient permissions.