Can anyone please help me in solving this? I am stuck with login piece here. Previously the credentials which I set in Asset were different but now I have changed them as given in academy but I am not sure why is it still considering the old credentials.
I wonder whether it’s taking the credentials from the windows credential manager. Could you do a quick search for windows credential manager in start menu and see whether you have a recent credential for this there? If it has, delete that and try again to see whether it works…
Yes, it was taking credentials from windows credential manager. As you mentioned, I have removed those credentials and ran the workflow again but the credential manager is again asking to provide credentials there.
Can you please keep me in the know how come this credential manager came into the picture?
It comes into the picture through the get credentials xaml file. If you open and look closely, it first tries to get the credentials from the orchestrator. If that doesnt work, then it tries to get the credentials from the windows credential manager. So if windows does not have the credentials it will prompt you that screen to obtain the credentials for the first time. Next time onwards, it will use it whenever orchestrator credential is not accessible or not present. This must have come into the picture while you were developing it you must have got the same screen previously and you must have inserted it.
The reason for it to fail to get orchestrator credential is what we should investigate. In the get credentials workflow for get orchestrator credential, we have to get the credentials asset name that comes from the config. When invoking this workflow we pass the credential asset name as a input argument as in_credential. Make sure you are passing the proper name for this. It looks like this is the point that’s going wrong…
Hmmm… seems like it’s getting a null value from some point. This could be the file path that you are taking from the in_cofig.
Check whether that key is same as the name mentioned in the config. Also, check whether there is a value for that key in the config. Basically in the config file you should have the full file path mentioned.