Restrict access for the vRealize Automation and vRealize Orchestrator to vSphere integration service accounts to the management domain vCenter Server inventory.

UI Procedure

  1. Log in to the management domain vCenter Server at https://<management_vcenter_server_fqdn>/ui as administrator@vsphere.local.
  2. From the Hosts and clusters inventory, select the management domain vCenter Server, and click the Permissions tab.

  3. Select the service account for vRealize Automation to vSphere integration and click the Change role icon.

  4. In the Change role dialog box, from the Role drop-down menu, select No Access, select the Propagate to children check box, and click OK.

  5. Repeat steps 3 and 4 for the service account for vRealize Orchestrator to vSphere integration.

  6. Repeat the procedure for the management domain vCenter Server in each VMware Cloud Foundation instance.

PowerShell Procedure

  1. Start Windows PowerShell.

  2. Replace the values in the sample code with values from your VMware Cloud Foundation Planning and Preparation Workbook and run the commands in the PowerShell console.

    $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
    $sddcManagerUser = "administrator@vsphere.local"
    $sddcManagerPass = "VMw@re1!"
    
    $sddcDomainName = "sfo-m01"
    
    $domainAlias = "SFO"
    $vraServiceAccount = "svc-vra-vsphere"
    $vroServiceAccount = "svc-vro-vsphere"
  3. Perform the configuration for the service account for vRealize Automation to vSphere integration by running the command in the PowerShell console.

    Set-vCenterPermission -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -domain $domainAlias -workloadDomain $sddcDomainName -principal $vraServiceAccount -role "NoAccess"
  4. Perform the configuration for the service account for vRealize Orchestrator to vSphere integration by running the command in the PowerShell console.

  5. Set-vCenterPermission -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -domain $domainAlias -workloadDomain $sddcDomainName -principal $vroServiceAccount -role "NoAccess"
  6. Repeat the procedure for the management domain vCenter Server in each VMware Cloud Foundation instance.