I want to trigger Bot in orchestrator using swagger.
Can anyone please help.
Also can you please help to let me know how we can get “Bearer Token”.
Also wanted to inform that I am using OnPrem Orchestrator.
I am trying authenticate bcoz this automatic authentication works only if orchestrator is already open in another tab. But if orchestrator is not open then we need usernam and password to authenticate.
Can you please help?
I tried Postman also and when I m passing “tenancy”, “username”, “password”, then it is showing error as “Invalid credentials”.
My account is created as AD user and we connect to orchestrator by clicking window symbol. We are not accessing orchestrator with username and password.
So can you please let me know how I can generate token ??
Username password will jot work…please create external application and then use from postman…i have provided the related links as welll on how to create external application and how to authorize using it
If you are using an AD (Active Directory) user account to connect to Orchestrator by clicking the Windows symbol (presumably using Windows Integrated Authentication or Single Sign-On), it means you are not using a traditional Orchestrator username and password for authentication. In this case, generating a Bearer token via the /api/Account/Authenticate endpoint with a username and password will not work because you are not using those credentials to access Orchestrator.
When using Postman, ensure that you configure it to use Windows Integrated Authentication (also known as NTLM) if Orchestrator is set up this way. Postman has support for Windows Integrated Authentication, but you need to configure it correctly.
In Postman, go to your request settings.
Under the “Authorization” tab, select “NTLM” as the type.
Ensure that your Postman session is running with the same user context that has access to Orchestrator without a separate login prompt.
Reason being - When Orchestrator is configured for Windows Integrated Authentication, it relies on your Windows user account’s authentication, and you don’t need to provide a separate username and password. If you’re already logged into your Windows session with the appropriate AD credentials, you should have access to Orchestrator without needing to generate a Bearer token.
Still I am facing issue it is showing error as “Login Model cannot be null”.
Can you please let me know if I have missed anything or entered anything wrong.
Also please let me know what should be the method(post, get) and url that we need to use in to get NTML token.