ERROR
Attempts to run the webgisdr utility to create an ArcGIS Enterprise backup fail, with the following error message returned:
Error: Failed to generate token for Portal for ArcGIS. Verify that the credentials you entered are correct.
The portal's hostname configuration (.json) file is not configured using a fully qualified domain name (FQDN). This makes Portal for ArcGIS unable to identify the License Manager over the network despite using a valid URL to log in.
In some environments, if the hostname in the portal configuration file is not defined with a FQDN recognizable by the license server, Portal for ArcGIS cannot connect to the license manager to verify licensing
On the ArcGIS Server machine, set the machine name to a FQDN in the portal-config.properties file to accurately identify the machine.
Note: Create a backup of the portal-config.properties file before editing, as incorrect changes will affect the portal configurations.
C:\Program Files\ArcGIS\Portal\framework\etc
portal.machine.name=<FQDN>
https://webadaptorhost.domain.com/webadaptorname/portaladmin
Article ID: 000027940
Get help from ArcGIS experts
Download the Esri Support App