Skip to content
Discussion options

You must be logged in to vote

Hi Bao Tran (@n1340t), since you're using a cross-tenant system with User managed Identity, I recommend configuring APIM to validate Bot Framework token directly.

 <validate-jwt header-name="Authorization" failed-validation-httpcode="401" failed-validation-error-message="Unauthorized. Access token is missing or  invalid.">
     <openid-config url="https://login.microsoftonline.com/botframework.com/v2.0/.well-known/openid-configuration" />
     <audiences>
         <audience>YOUR_MANAGED_IDENTITY_CLIENT_ID</audience>
     </audiences>
 </validate-jwt>

Make sure to confirm exact aud and iss claims for your bot. For User Managed Identity, I believe the audience is your MI's client ID, but w…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by n1340t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants