ERROR

Token für Portal for ArcGIS konnte nicht generiert werden. Überprüfen Sie, ob Sie die richtigen Anmeldeinformationen eingegeben haben.

Last Published: May 22, 2024

Fehlermeldung

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.

Ursache

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.

Lösung oder Problemumgehung

On the ArcGIS Server machine, set the machine name to a FQDN in the hostname.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.
  1. Navigate to the following directory and open the hostname.properties file on the host machine.
C:\Program Files\ArcGIS\Portal\framework\etc
  1. Search for and edit the portal.machine.name property in the file, as shown below.
portal.machine.name=<FQDN>
  1. Click the File tab, select Save from the drop-down, and close the hostname.properties file.
  2. On the Portal for ArcGIS machine, restart the Portal for ArcGIS service in Task Manager.
    1. Right-click the Windows taskbar at the bottom of the window.
    2. Select Task Manager from the drop-down.
    3. In the Task Manager dialog box, click the Services tab, right-click the Portal for ArcGIS service and select Restart from the drop-down.
  3. Navigate to ArcGIS Portal Administrator Directory using the following URL:
https://webadaptorhost.domain.com/webadaptorname/portaladmin
  1. Navigate to Machines > Machine Name, and verify the hostname is using a FQDN.

Artikel-ID:000027940

Benachrichtigungen erhalten und Lösungen für neue oder häufige Probleme finden

Unser neuer KI-Chatbot stellt zusammengefasste Antworten und Videolösungen für Sie bereit.

Esri Support App herunterladen

Zugehörige Informationen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln