ArcGIS Enterprise Cloud Builder 11.2 for Microsoft Azure - Operation Failed / Federation failed after multiple attempts.

502
2
01-16-2024 10:50 AM
JakeGunter
New Contributor

I'm attempting to deploy ArcGIS in Azure utilizing CloudBuilder.

 

JakeGunter_2-1705430638930.png


The deployment encountered the following errors
The resource bpaWebGIS-Pri/DSCConfiguration of type Microsoft.Compute/virtualMachines/extensions failed.  Error:- The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'. VMExtensionProvisioningError - VM has reported a failure when processing extension 'DSCConfiguration' (publisher 'Microsoft.Powershell' and type 'DSC'). Error message: "DSC Configuration 'BaseDeploymentSingleTierConfiguration' completed with error(s). Following are the first few: PowerShell DSC resource ArcGIS_Federation failed to execute Set-TargetResource functionality with error message: [ERROR]:- Federation Failed after multiple attempts. Error: code=400; message=Invalid administrator username or password specified. Verify the username and password are correct and try again.; details=System.Object The SendConfigurationApply function did not succeed.".

I've added the MachineAdmin, SiteAdmin, and Service accounts to the Resource Group as both Contributors & with Reader & Data Access rights. I've confirmed/reset the passwords to confirm they're entered correctly in the Cloud Builder deployment.

What are some next steps to resolve the above error message?

0 Kudos
2 Replies
JakeGunter
New Contributor

Here's the Sanitized Log Report

DeploySiteWithAutomationAGJob started at 16-Jan-2024-T12-59-36
Started Site Deployment to gis

Validating Azure Resource Manager(ARM) template and parameters used for deployment
Azure Resource Manager (ARM) Template used for deployment is valid
Starting deployment with name 'azuredeploy-0116-1859'
Operation on resource 'generateSSLCertificatesCustomExtension-azuredeploy-0116-1859' succeeded
Operation on resource 'generateSSLCertificatesCustomExtension-azuredeploy-0116-1859' succeeded
Operation on resource 'JumpBox' succeeded
Operation on resource 'WebGIS-Pri' succeeded
Operation on resource 'JumpBox-nic' succeeded
Operation on resource 'pid-b32fa876-02f4-44e8-a554-531c00899e56' succeeded
Operation on resource 'PublicIP-RDP' succeeded
Operation on resource 'AvailabilitySet-BaseDeployment' succeeded
Operation on resource 'WebGIS-Pri-nic' succeeded
Operation on resource 'fetchIpAddress-azuredeploy-0116-1859' succeeded
Operation on resource 'WebGIS-Pri/DSCConfiguration' is in progress
Tracking Extension 'DSCConfiguration' execution on virtual machine 'WebGIS-Pri'
Tracking Extension 'DSCConfiguration' execution on virtual machine 'WebGIS-Pri'
[01/16/2024 11:09:40] Looking for the definition of the configuration function.
[01/16/2024 11:09:40] Executing C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\bin\..\DSCWork\DSC.0\BaseDeploymentSingleTierConfiguration.ps1
[01/16/2024 11:10:19] Preparing configuration arguments and configuration data.
[01/16/2024 11:10:19] Created encryption certificate 53F13E138BFB426607C5E56E1AC91F6D6AD8811D
[01/16/2024 11:10:19] Adding encryption certificate 53F13E138BFB426607C5E56E1AC91F6D6AD8811D to the configuration data
[01/16/2024 11:10:19] Creating MOF files.
[01/16/2024 11:10:19] Executing the configuration function to generate the MOF files.
[01/16/2024 11:10:54] Meta configuration found. Injecting Thumbprint.
[01/16/2024 11:10:54] CertificateID not present in existing meta configuration; inserting 53F13E138BFB426607C5E56E1AC91F6D6AD8811D.
[01/16/2024 11:10:54] Verifying metaconfiguration for reboot information...
[01/16/2024 11:10:54] Backing up C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\DSCWork\DSC.0\BaseDeploymentSingleTierConfiguration\localhost.meta.mof
[01/16/2024 11:10:54] No match for RegistrationKey found in the meta mof file
[01/16/2024 11:10:54] WMF 5 or newer, Injecting RebootNodeIfNeeded = False and ActionAfterReboot = "StopConfiguration"
[01/16/2024 11:10:54] Executing Set-DscLocalConfigurationManager...
[01/16/2024 11:10:57] Settings handler status to 'transitioning' (C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\Status\0.status)
[01/16/2024 11:10:59] Settings handler status to 'transitioning' (C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\Status\0.status)
[01/16/2024 11:10:59] Get-DscLocalConfigurationManager:
ActionAfterReboot : StopConfiguration
AgentId : 40BE19DA-79E9-11EE-ABB6-0022482351BC
AllowModuleOverWrite : False
CertificateID : 53F13E138BFB426607C5E56E1AC91F6D6AD8811D
ConfigurationDownloadManagers : {}
ConfigurationID :
ConfigurationMode : ApplyOnly
ConfigurationModeFrequencyMins : 15
Credential :
DebugMode : {NONE}
DownloadManagerCustomData :
DownloadManagerName :
LCMCompatibleVersions : {1.0, 2.0}
LCMState : Idle
LCMStateDetail :
LCMVersion : 2.0
StatusRetentionTimeInDays : 10
SignatureValidationPolicy : NONE
SignatureValidations : {}
MaximumDownloadSizeMB : 500
PartialConfigurations :
RebootNodeIfNeeded : False
RefreshFrequencyMins : 30
RefreshMode : PUSH
ReportManagers : {}
ResourceModuleManagers : {}
PSComputerName :
[01/16/2024 11:10:59] Executing Start-DscConfiguration...
[01/16/2024 11:10:59] Settings handler status to 'transitioning' (C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\Status\0.status)
[01/16/2024 12:15:21] Settings handler status to 'transitioning' (C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\Status\0.status)
[01/16/2024 12:15:21] Updating execution status (HKLM:\SOFTWARE\Microsoft\Azure\DSC\2.83.5\Status)
[01/16/2024 12:15:21] LCM state is PendingConfiguration
[01/16/2024 12:16:22] DSC configuration completed.
[01/16/2024 12:16:22] Resetting metaconfiguration...
[01/16/2024 12:16:22] Restoring C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\DSCWork\DSC.0\BaseDeploymentSingleTierConfiguration\localhost.meta.mof.bk...
[01/16/2024 12:16:22] Executing Set-DscLocalConfigurationManager...
[01/16/2024 12:16:22] Settings handler status to 'transitioning' (C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\Status\0.status)
[01/16/2024 12:16:25] Settings handler status to 'transitioning' (C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\Status\0.status)
[01/16/2024 12:16:25] Get-DscLocalConfigurationManager:
ActionAfterReboot : ContinueConfiguration
AgentId : 40BE19DA-79E9-11EE-ABB6-0022482351BC
AllowModuleOverWrite : False
CertificateID : 53F13E138BFB426607C5E56E1AC91F6D6AD8811D
ConfigurationDownloadManagers : {}
ConfigurationID :
ConfigurationMode : ApplyOnly
ConfigurationModeFrequencyMins : 15
Credential :
DebugMode : {NONE}
DownloadManagerCustomData :
DownloadManagerName :
LCMCompatibleVersions : {1.0, 2.0}
LCMState : PendingConfiguration
LCMStateDetail :
LCMVersion : 2.0
StatusRetentionTimeInDays : 10
SignatureValidationPolicy : NONE
SignatureValidations : {}
MaximumDownloadSizeMB : 500
PartialConfigurations :
RebootNodeIfNeeded : True
RefreshFrequencyMins : 30
RefreshMode : PUSH
ReportManagers : {}
ResourceModuleManagers : {}
PSComputerName :
[01/16/2024 12:16:25] Settings handler status to 'error' (C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\Status\0.status)
[01/16/2024 12:15:20] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Response:- {"error":{"code":400,"message":"Invalid administrator username or password specified. Verify the username and password are correct and try again.","details":["You are not authorized to access this information","Invalid credentials"]}}
[01/16/2024 12:15:20] [VERBOSE] [WebGIS-Pri]: LCM: [ End Set ] [[ArcGIS_Federation]Federate] in 62.3200 seconds.
[01/16/2024 12:15:20] [ERROR] PowerShell DSC resource ArcGIS_Federation failed to execute Set-TargetResource functionality with error message: [ERROR]:- Federation Failed after multiple attempts. Error:- @{code=400; message=Invalid administrator username or password specified. Verify the username and password are correct and try again.; details=System.Object[]}
[01/16/2024 12:15:20] [VERBOSE] [WebGIS-Pri]: LCM: [ End Set ]
[01/16/2024 12:15:20] [ERROR] The SendConfigurationApply function did not succeed.
[01/16/2024 12:15:20] [VERBOSE] Operation 'Invoke CimMethod' complete.
[01/16/2024 12:15:20] [VERBOSE] Time taken for configuration job to complete is 3860.348 seconds
[01/16/2024 12:16:22] [VERBOSE] Performing the operation "Start-DscConfiguration: SendMetaConfigurationApply" on target "MSFT_DSCLocalConfigurationManager".
[01/16/2024 12:16:22] [VERBOSE] Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendMetaConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
[01/16/2024 12:16:23] [VERBOSE] An LCM method call arrived from computer WebGIS-Pri with user sid S-1-5-18.
[01/16/2024 12:16:23] [VERBOSE] [WebGIS-Pri]: LCM: [ Start Set ]
[01/16/2024 12:16:23] [VERBOSE] [WebGIS-Pri]: LCM: [ Start Resource ] [MSFT_DSCMetaConfiguration]
[01/16/2024 12:16:23] [VERBOSE] [WebGIS-Pri]: LCM: [ Start Set ] [MSFT_DSCMetaConfiguration]
[01/16/2024 12:16:23] [VERBOSE] [WebGIS-Pri]: LCM: [ End Set ] [MSFT_DSCMetaConfiguration] in 0.0190 seconds.
[01/16/2024 12:16:23] [VERBOSE] [WebGIS-Pri]: LCM: [ End Resource ] [MSFT_DSCMetaConfiguration]
[01/16/2024 12:16:23] [VERBOSE] [WebGIS-Pri]: LCM: [ End Set ]
[01/16/2024 12:16:23] [VERBOSE] [WebGIS-Pri]: LCM: [ End Set ] in 0.0540 seconds.
[01/16/2024 12:16:23] [VERBOSE] Operation 'Invoke CimMethod' complete.
[01/16/2024 12:16:23] [VERBOSE] Set-DscLocalConfigurationManager finished in 0.171 seconds.
[01/16/2024 13:01:33] Attempting to grab mutex DscExtensionHandler_Lock for sequence number 1
[01/16/2024 13:01:33] Acquired lock for extension instance for sequence number 1
[01/16/2024 13:01:33] Attempting to acquire extension lock
[01/16/2024 13:01:33] Attempting to grab mutex DscExtensionHandler_Lock
[01/16/2024 13:01:33] Acquired lock for extension
[01/16/2024 13:01:33] lock does not exist: begin processing
[01/16/2024 13:01:33] Starting DSC Extension ...
[01/16/2024 13:01:33] Getting handler execution status HKLM:\SOFTWARE\Microsoft\Azure\DSC\2.83.5\Status ...
[01/16/2024 13:01:33] Updating execution status (HKLM:\SOFTWARE\Microsoft\Azure\DSC\2.83.5\Status)
[01/16/2024 13:01:33] Transitioning to DataValidation state ...
[01/16/2024 13:01:33] Settings handler status to 'transitioning' (C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\Status\1.status)
[01/16/2024 13:01:33] Retrieving system information ...
[01/16/2024 13:01:36] OS Version : 10.0
[01/16/2024 13:01:36] Server OS : True
[01/16/2024 13:01:36] 64-bit OS : True
[01/16/2024 13:01:36] PS Version : 5.1.20348.2031
[01/16/2024 13:01:36] Validating user provided settings for the DSC Extension Handler ...
[01/16/2024 13:01:36] Reading handler settings from C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\RuntimeSettings\1.settings
[01/16/2024 13:01:36] Found protected settings on Azure VM. Decrypting.
[01/16/2024 13:01:38] Updating user preference for Data Collection ......
[01/16/2024 13:01:38] Get DSC Extension Handler install status ...
[01/16/2024 13:01:38] Status: Installed
[01/16/2024 13:01:38] Updating execution status (HKLM:\SOFTWARE\Microsoft\Azure\DSC\2.83.5\Status)
[01/16/2024 13:01:38] Transitioning to ProcessConfiguration state ...
[01/16/2024 13:01:38] Getting handler execution status HKLM:\SOFTWARE\Microsoft\Azure\DSC\2.83.5\Status ...
[01/16/2024 13:01:38] Getting handler execution status HKLM:\SOFTWARE\Microsoft\Azure\DSC\2.83.5\Status ...
[01/16/2024 13:01:38] Settings handler status to 'transitioning' (C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\Status\1.status)
[01/16/2024 13:01:38] Configuration URL: https://gisstorage.blob.core.windows.net/arcgisrg-stageartifacts/DSC.zip
[01/16/2024 13:01:38] Configuration Script: BaseDeploymentSingleTierConfiguration.ps1
[01/16/2024 13:01:38] Configuration Function: BaseDeploymentSingleTierConfiguration
[01/16/2024 13:01:38] Creating Working directory: C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\bin\..\DSCWork\DSC.1
[01/16/2024 13:01:38] Downloading configuration package
[01/16/2024 13:01:38] Downloading https://gisstorage.blob.core.windows.net/arcgisrg-stageartifacts/DSC.zip to C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\bin\..\DSCWork\DSC.1\DSC.zip
[01/16/2024 13:01:39] Extracting DSC.zip
[01/16/2024 13:01:41] Installing custom DSC resource modules to C:\Program Files\WindowsPowerShell\Modules
[01/16/2024 13:01:41] Installing custom DSC resource module ArcGIS
[01/16/2024 13:01:41] DSC resource module ArcGIS already exists. Removing it first ...
[01/16/2024 13:01:41] Copying C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\DSCWork\DSC.1\ArcGIS to C:\Program Files\WindowsPowerShell\Modules\ArcGIS ...
[01/16/2024 13:01:41] Looking for the definition of the configuration function.
[01/16/2024 13:01:41] Executing C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\bin\..\DSCWork\DSC.1\BaseDeploymentSingleTierConfiguration.ps1
[01/16/2024 13:02:14] Preparing configuration arguments and configuration data.
[01/16/2024 13:02:14] Adding encryption certificate 53F13E138BFB426607C5E56E1AC91F6D6AD8811D to the configuration data
[01/16/2024 13:02:14] Creating MOF files.
[01/16/2024 13:02:14] Executing the configuration function to generate the MOF files.
[01/16/2024 13:02:50] Meta configuration found. Injecting Thumbprint.
[01/16/2024 13:02:50] CertificateID not present in existing meta configuration; inserting 53F13E138BFB426607C5E56E1AC91F6D6AD8811D.
[01/16/2024 13:02:50] Verifying metaconfiguration for reboot information...
[01/16/2024 13:02:50] Backing up C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\DSCWork\DSC.1\BaseDeploymentSingleTierConfiguration\localhost.meta.mof
[01/16/2024 13:02:50] No match for RegistrationKey found in the meta mof file
[01/16/2024 13:02:50] WMF 5 or newer, Injecting RebootNodeIfNeeded = False and ActionAfterReboot = "StopConfiguration"
[01/16/2024 13:02:50] Executing Set-DscLocalConfigurationManager...
[01/16/2024 13:02:50] Settings handler status to 'transitioning' (C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\Status\1.status)
[01/16/2024 13:02:53] Settings handler status to 'transitioning' (C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\Status\1.status)
[01/16/2024 13:02:53] Get-DscLocalConfigurationManager:
ActionAfterReboot : StopConfiguration
AgentId : 40BE19DA-79E9-11EE-ABB6-0022482351BC
AllowModuleOverWrite : False
CertificateID : 53F13E138BFB426607C5E56E1AC91F6D6AD8811D
ConfigurationDownloadManagers : {}
ConfigurationID :
ConfigurationMode : ApplyOnly
ConfigurationModeFrequencyMins : 15
Credential :
DebugMode : {NONE}
DownloadManagerCustomData :
DownloadManagerName :
LCMCompatibleVersions : {1.0, 2.0}
LCMState : PendingConfiguration
LCMStateDetail :
LCMVersion : 2.0
StatusRetentionTimeInDays : 10
SignatureValidationPolicy : NONE
SignatureValidations : {}
MaximumDownloadSizeMB : 500
PartialConfigurations :
RebootNodeIfNeeded : False
RefreshFrequencyMins : 30
RefreshMode : PUSH
ReportManagers : {}
ResourceModuleManagers : {}
PSComputerName :
[01/16/2024 13:02:53] Executing Start-DscConfiguration...
[01/16/2024 13:02:53] Settings handler status to 'transitioning' (C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\Status\1.status)
[01/16/2024 13:02:51] [VERBOSE] Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendMetaConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
[01/16/2024 13:02:51] [VERBOSE] An LCM method call arrived from computer WebGIS-Pri with user sid S-1-5-18.
[01/16/2024 13:02:51] [VERBOSE] The -Force option was specified with the Stop operation. The current configuration has been successfully cancelled.
[01/16/2024 13:02:51] [VERBOSE] An LCM method call arrived from computer WebGIS-Pri with user sid S-1-5-18.
[01/16/2024 13:02:51] [VERBOSE] [WebGIS-Pri]: LCM: [ Start Set ]
[01/16/2024 13:02:51] [VERBOSE] [WebGIS-Pri]: LCM: [ Start Set ] [MSFT_DSCMetaConfiguration]
[01/16/2024 13:02:51] [VERBOSE] [WebGIS-Pri]: LCM: [ Start Resource ] [MSFT_DSCMetaConfiguration]
[01/16/2024 13:02:51] [VERBOSE] [WebGIS-Pri]: LCM: [ End Set ] [MSFT_DSCMetaConfiguration] in 0.0260 seconds.
[01/16/2024 13:02:51] [VERBOSE] [WebGIS-Pri]: LCM: [ End Resource ] [MSFT_DSCMetaConfiguration]
[01/16/2024 13:02:51] [VERBOSE] [WebGIS-Pri]: LCM: [ End Set ]
[01/16/2024 13:02:51] [VERBOSE] [WebGIS-Pri]: LCM: [ End Set ] in 0.0650 seconds.
[01/16/2024 13:02:51] [VERBOSE] Operation 'Invoke CimMethod' complete.
[01/16/2024 13:02:51] [VERBOSE] Set-DscLocalConfigurationManager finished in 0.238 seconds.
[01/16/2024 13:03:51] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Site Admin Url:- https://gis..org/server Service Url:- https://gis..org/server
[01/16/2024 13:03:51] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Federated Server with Admin URL https://gis..org/server does not exist
[01/16/2024 13:03:51] [VERBOSE] [WebGIS-Pri]: LCM: [ End Test ] [[ArcGIS_Federation]Federate] in 0.1750 seconds.
[01/16/2024 13:03:51] [VERBOSE] [WebGIS-Pri]: LCM: [ Start Set ] [[ArcGIS_Federation]Federate]
[01/16/2024 13:03:51] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Get Portal Token from Deployment 'WebGIS-Pri.z54riog0hfiednzhowhdpnkgyh.gx.internal.cloudapp.net'
[01/16/2024 13:03:52] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Site Admin Url:- https://gis..org/server Service Url:- https://gis..org/server
[01/16/2024 13:03:52] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Could not find a federated server that is the hosting server and whose URL matches expected values
[01/16/2024 13:03:52] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Federated Server with Admin URL https://gis..org/server does not exist
[01/16/2024 13:03:52] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Federation of Server Attempt 1
[01/16/2024 13:03:52] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Federation EndPoint:- https://WebGIS-Pri.z54riog0hfiednzhowhdpnkgyh.gx.internal.cloudapp.net:7443/arcgis/portaladmin/feder...
[01/16/2024 13:03:52] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Referer:- https://WebGIS-Pri.z54riog0hfiednzhowhdpnkgyh.gx.internal.cloudapp.net:7443/arcgis
[01/16/2024 13:03:52] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Federation Parameters:- url:- https://gis..org/server adminUrl = https://gis..org/server
[01/16/2024 13:03:52] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] POST https://webgis-pri.z54riog0hfiednzhowhdpnkgyh.gx.internal.cloudapp.net:7443/arcgis/portaladmin/feder... with 456-byte payload
[01/16/2024 13:03:52] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] received 234-byte response of content type application/json;charset=UTF-8
[01/16/2024 13:03:52] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Response:- {"error":{"code":400,"message":"Invalid administrator username or password specified. Verify the username and password are correct and try again.","details":["You are not authorized to access this information","Invalid credentials"]}}
[01/16/2024 13:03:52] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] [ERROR]:- Federation returned error. Error:- @{code=400; message=Invalid administrator username or password specified. Verify the username and password are correct and try again.; details=System.Object[]}
[01/16/2024 13:03:52] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Attempt [1] Failed. Retrying after 30 seconds!
[01/16/2024 13:04:22] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Federation of Server Attempt 2
[01/16/2024 13:04:22] Settings handler status to 'transitioning' (C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\Status\1.status)
[01/16/2024 13:04:54] Settings handler status to 'transitioning' (C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\Status\1.status)
[01/16/2024 13:04:22] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Federation Parameters:- url:- https://gis..org/server adminUrl = https://gis..org/server
[01/16/2024 13:04:22] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] POST https://webgis-pri.z54riog0hfiednzhowhdpnkgyh.gx.internal.cloudapp.net:7443/arcgis/portaladmin/feder... with 456-byte payload
[01/16/2024 13:04:23] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] received 234-byte response of content type application/json;charset=UTF-8
[01/16/2024 13:04:23] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Response:- {"error":{"code":400,"message":"Invalid administrator username or password specified. Verify the username and password are correct and try again.","details":["You are not authorized to access this information","Invalid credentials"]}}
[01/16/2024 13:04:23] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] [ERROR]:- Federation returned error. Error:- @{code=400; message=Invalid administrator username or password specified. Verify the username and password are correct and try again.; details=System.Object[]}
[01/16/2024 13:04:23] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Attempt [2] Failed. Retrying after 30 seconds!
[01/16/2024 13:04:53] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Federation of Server Attempt 3
[01/16/2024 13:04:53] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Federation EndPoint:- https://WebGIS-Pri.z54riog0hfiednzhowhdpnkgyh.gx.internal.cloudapp.net:7443/arcgis/portaladmin/feder...
[01/16/2024 13:04:53] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Referer:- https://WebGIS-Pri.z54riog0hfiednzhowhdpnkgyh.gx.internal.cloudapp.net:7443/arcgis
[01/16/2024 13:04:53] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Federation Parameters:- url:- https://gis..org/server adminUrl = https://gis..org/server
[01/16/2024 13:04:53] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] POST https://webgis-pri.z54riog0hfiednzhowhdpnkgyh.gx.internal.cloudapp.net:7443/arcgis/portaladmin/feder... with 456-byte payload
[01/16/2024 13:04:53] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] received 234-byte response of content type application/json;charset=UTF-8
[01/16/2024 13:04:53] [VERBOSE] [WebGIS-Pri]: [[ArcGIS_Federation]Federate] Response:- {"error":{"code":400,"message":"Invalid administrator username or password specified. Verify the username and password are correct and try again.","details":["You are not authorized to access this information","Invalid credentials"]}}
[01/16/2024 13:04:53] [VERBOSE] [WebGIS-Pri]: LCM: [ End Set ] [[ArcGIS_Federation]Federate] in 61.9090 seconds.
[01/16/2024 13:04:53] [ERROR] PowerShell DSC resource ArcGIS_Federation failed to execute Set-TargetResource functionality with error message: [ERROR]:- Federation Failed after multiple attempts. Error:- @{code=400; message=Invalid administrator username or password specified. Verify the username and password are correct and try again.; details=System.Object[]}
[01/16/2024 13:04:53] [VERBOSE] [WebGIS-Pri]: LCM: [ End Set ]
[01/16/2024 13:04:53] [ERROR] The SendConfigurationApply function did not succeed.
[01/16/2024 13:04:53] [VERBOSE] Operation 'Invoke CimMethod' complete.
[01/16/2024 13:04:53] [VERBOSE] Time taken for configuration job to complete is 119.429 seconds
[01/16/2024 13:04:54] Updating execution status (HKLM:\SOFTWARE\Microsoft\Azure\DSC\2.83.5\Status)
[01/16/2024 13:04:54] LCM state is PendingConfiguration
[01/16/2024 13:05:55] DSC configuration completed.
[01/16/2024 13:05:55] Resetting metaconfiguration...
[01/16/2024 13:05:55] Restoring C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\DSCWork\DSC.1\BaseDeploymentSingleTierConfiguration\localhost.meta.mof.bk...
[01/16/2024 13:05:55] Executing Set-DscLocalConfigurationManager...
[01/16/2024 13:05:55] Settings handler status to 'transitioning' (C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\Status\1.status)
[01/16/2024 13:05:56] Settings handler status to 'transitioning' (C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\Status\1.status)
[01/16/2024 13:05:56] Get-DscLocalConfigurationManager:
ActionAfterReboot : ContinueConfiguration
AgentId : 40BE19DA-79E9-11EE-ABB6-0022482351BC
AllowModuleOverWrite : False
CertificateID : 53F13E138BFB426607C5E56E1AC91F6D6AD8811D
ConfigurationDownloadManagers : {}
ConfigurationID :
ConfigurationMode : ApplyOnly
ConfigurationModeFrequencyMins : 15
Credential :
DebugMode : {NONE}
DownloadManagerCustomData :
DownloadManagerName :
LCMCompatibleVersions : {1.0, 2.0}
LCMState : PendingConfiguration
LCMStateDetail :
LCMVersion : 2.0
StatusRetentionTimeInDays : 10
SignatureValidationPolicy : NONE
SignatureValidations : {}
MaximumDownloadSizeMB : 500
PartialConfigurations :
RebootNodeIfNeeded : True
RefreshFrequencyMins : 30
RefreshMode : PUSH
ReportManagers : {}
ResourceModuleManagers : {}
PSComputerName :
[01/16/2024 13:05:56] Settings handler status to 'error' (C:\Packages\Plugins\Microsoft.Powershell.DSC\2.83.5\Status\1.status)
[01/16/2024 13:05:55] [VERBOSE] Performing the operation "Start-DscConfiguration: SendMetaConfigurationApply" on target "MSFT_DSCLocalConfigurationManager".
[01/16/2024 13:05:55] [VERBOSE] Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendMetaConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
[01/16/2024 13:05:55] [VERBOSE] An LCM method call arrived from computer WebGIS-Pri with user sid S-1-5-18.
[01/16/2024 13:05:55] [VERBOSE] [WebGIS-Pri]: LCM: [ Start Set ]
[01/16/2024 13:05:55] [VERBOSE] [WebGIS-Pri]: LCM: [ Start Resource ] [MSFT_DSCMetaConfiguration]
[01/16/2024 13:05:55] [VERBOSE] [WebGIS-Pri]: LCM: [ Start Set ] [MSFT_DSCMetaConfiguration]
[01/16/2024 13:05:55] [VERBOSE] [WebGIS-Pri]: LCM: [ End Set ] [MSFT_DSCMetaConfiguration] in 0.0190 seconds.
[01/16/2024 13:05:55] [VERBOSE] [WebGIS-Pri]: LCM: [ End Resource ] [MSFT_DSCMetaConfiguration]
[01/16/2024 13:05:55] [VERBOSE] [WebGIS-Pri]: LCM: [ End Set ]
[01/16/2024 13:05:55] [VERBOSE] [WebGIS-Pri]: LCM: [ End Set ] in 0.0580 seconds.
[01/16/2024 13:05:55] [VERBOSE] Operation 'Invoke CimMethod' complete.
[01/16/2024 13:05:55] [VERBOSE] Set-DscLocalConfigurationManager finished in 0.142 seconds.
Operation on resource 'appGatewayNestedDeployment-azuredeploy-0116-1859' succeeded
Deployment Error:- The deployment encountered the following errors
The resource WebGIS-Pri/DSCConfiguration of type Microsoft.Compute/virtualMachines/extensions failed.
Error:- The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.
<b>VMExtensionProvisioningError</b> - VM has reported a failure when processing extension 'DSCConfiguration' (publisher 'Microsoft.Powershell' and type 'DSC'). Error message: "DSC Configuration 'BaseDeploymentSingleTierConfiguration' completed with error(s). Following are the first few: PowerShell DSC resource ArcGIS_Federation failed to execute Set-TargetResource functionality with error message: [ERROR]:- Federation Failed after multiple attempts. Error:- @{code=400; message=Invalid administrator username or password specified. Verify the username and password are correct and try again.; details=System.Object[]} The SendConfigurationApply function did not succeed.". More information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot.

0 Kudos
CodyPatterson
Occasional Contributor III

Hey @JakeGunter 

I found this post stating that it could be a potential issue with the password being restricted against Windows methods of password verification or what Microsoft allows as a good password:
https://community.esri.com/t5/arcgis-enterprise-in-the-cloud-questions/cloud-builder-error-password-...

In summary of what they said, attempt to ensure that the username is a simple one and doesn't violate any Windows rules for what they would like the username to be. They then go on to say that the password needs to not have any reserved special characters, all of these count: (~!@#%^&*_-+=`|\(){}[]:;"'<>,.?/), and then ensure that it is not too long for Windows and doesn't include a $ for Powershell to not have a problem with possibly. Finally, I'd try a password with 16 or less characters and only is alphanumeric, the original poster recommended trying this as a temporary password: Password1234567

I would also attempt this first with the machine admin user and its password as well, recommended by the original poster.

Hopefully that points you in the right direction!

Cody

0 Kudos