Posting back response to bot - Access has been blocked by Conditional Access policies. The access policy does not allow token issuance. #6759
Labels
bug
Indicates an unexpected problem or an unintended behavior.
Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Version
4.21.0
Describe the bug
When bot is created with single tenant config and call is made to following
It throws error Failed to acquire token for client credentials. (AADSTS53003: Access has been blocked by Conditional Access policies. The access policy does not allow token issuance. Trace ID: 4d3115e2-773f-413d-ac57-9a69025d2e00 Correlation ID: 37810be3-b3dd-4f6a-9e87-5bab1e14d910 Timestamp: 2024-03-07 23:05:36Z)
To Reproduce
Create a bot with single tenant config
Make a call to GetSignInResourceAsync with SSO connection, test this call on external tenant not on the same tenant where bot is registered. The AAD app backed by BOT is also
AzureADMyOrg
Expected behavior
Should return sign in link
Screenshots
Exception added above
Additional context
Bot is created in MSFT tenant and trying to test on external test tenant.
The text was updated successfully, but these errors were encountered: