Hi all,
I am trying to use generateToken with my arcgis portal.
I have two accounts :
Account1 : user/password
Account2 : windows authentification
When I use the endpoint https://arcgisportal/portal/sharing/rest/generateToken with account1 (user/password), it generates me a valide token and it works fine
But I can not generate a token for my windows account, it indicates me that the username or password is invalid.
Do you know where is the problem ?
Bonjour,
p, si quelqu'un a déjà rencontré ce genre de problèmes.
Merci d'avance
Hello Hamza Boudemia,
The Windows account should be able to generate a token. Portal's identity store has to be updated to use Windows accounts and the account needs be added as a member to Portal. If the account is not added as a member you would receive the "Invalid username or password" error.
Otherwise, it is likely that the username or password is incorrect. The username needs to include the domain for Windows accounts. Providing the username without the domain will return the "Invalid username or password" error. The username can be formatted as DOMAIN\username or username@DOMAIN.
Best,
TJ