Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

botAadApp/create failed: CredentialInvalidLifetimeAsPerAppPolicy #10998

Open
ross-p-smith opened this issue Mar 5, 2024 · 2 comments
Open

botAadApp/create failed: CredentialInvalidLifetimeAsPerAppPolicy #10998

ross-p-smith opened this issue Mar 5, 2024 · 2 comments
Assignees
Labels

Comments

@ross-p-smith
Copy link

Describe the bug
When I Provision an application it fails

  (×) Error: botAadApp/create failed.
    (×) Error: A http client error happened while performing the botAadApp/create task. The error response is: {"error":{"code":"CredentialInvalidLifetimeAsPerAppPolicy","message":"Credential lifetime exceeds the max value allowed as per assigned policy 'aaaaaaa'.","details":[{"code":"InvalidKeyEndDate","message":"Credential lifetime exceeds the max value allowed as per assigned policy 'aaaaaa'.","target":"EndDate"}],"innerError":{"date":"2024-03-05T13:14:55","request-id":"xxxx","client-request-id":"xxxx"}}}

Expected behavior
Documentation should tell me how to set the Credential Lifetime or how to set this up manually

VS Code Extension Information (please complete the following information):

  • OS: WSL
  • Version latest
Copy link
Contributor

Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.

@microsoft-github-policy-service microsoft-github-policy-service bot added the needs attention This issue needs the attention of a contributor. label Mar 5, 2024
@adashen adashen added investigating TA:Auth Team Area: Auth labels Mar 6, 2024
@blackchoey
Copy link
Contributor

@ross-p-smith We're working to support setting customized credential lifetime for you application. For now, please follow Use an existing Microsoft Entra app for your bot to create an app by yourself and use it in your project.

@blackchoey blackchoey removed the needs attention This issue needs the attention of a contributor. label Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants