const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
module.exports = async function (context, req) {
let credentials = await msRestNodeAuth.loginWithServicePrincipalSecret(clientId, clientSecret, tenant);
console.log('credentials==> ',credentials);
context.res = {
body: credentials
};
}
While generating the credentials then getting the error. "Exception has occurred: Error: Entry not found in cache.".
Why I'm getting the above error ??
