Skip to main content

In dev, it works. In prod i was having “access is denied” error. After sharepoint auth connection token was activated, i started to have "credentials couldnt be found in credential vault” Why is that? How to solve it?

Hi ​@Semih 3318,

 

Make sure that your Runner user is the Consumer of the Credential vault in order to use the credentials. 

If the Consumer role is missing, then the credentials won't be accessible by the runner user.


@Padmakumar i dont understand. Because sharepoint package  only needs Authenticate step. And its only about OAuth connection. ProviderType-Connectionname-Token type
where are credentials? there is no credential or consumer here as i know


@Padmakumar i dont understand. Because sharepoint package  only needs Authenticate step. And its only about OAuth connection. ProviderType-Connectionname-Token type
where are credentials? there is no credential or consumer here as i know

 

Credential can be anything. Like Username& Password, Access token, API Key etc.

In your case, the Token must be the credential that the bot is trying to retrieve from the vault. In the Dev environment, the runner must have access to the same, which is why the execution is working there. 

Whereas in Prod, the access is missing, due to which the execution is failing. So, as I have mentioned, you need to provide Consumer role to your Bot runner user to access the Credentials (Token).

 

 

There is one more possibility here, which is that the Vault or Credential itself is missing. In this case, you need to create the same one similar to your Dev instance.


Reply