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

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

botAadApp/create failed: CredentialInvalidLifetimeAsPerAppPolicy #10998

ross-p-smith opened this issue Mar 5, 2024 · 5 comments
Assignees
Labels
needs more info Need user to provide more info no recent activity The issue labeled needs more info gets no reply from issue owner in time TA:Auth Team Area: Auth

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
@blackchoey
Copy link
Contributor

The latest Teams Toolkit is able to set customized credential lifetime via aadApp/create action now. Please have a try and let us know if you have further questions.

@blackchoey blackchoey added needs more info Need user to provide more info and removed investigating labels Jul 8, 2024
Copy link
Contributor

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

@microsoft-github-policy-service microsoft-github-policy-service bot added the no recent activity The issue labeled needs more info gets no reply from issue owner in time label Jul 16, 2024
Copy link
Contributor

Due to lack of details for further investigation, we will archive the issue for now. In case you still have following-up questions on this issue, please always feel free to reopen the issue by clicking ‘reopen issue’ button below the comment box. We will get back to you as soon as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info Need user to provide more info no recent activity The issue labeled needs more info gets no reply from issue owner in time TA:Auth Team Area: Auth
Projects
None yet
Development

No branches or pull requests

3 participants