title: How to get Authentication details of user over Skype for Business channel in Microsoft Bot Framework
body: <p>I have created a Bot in <code>Node JS</code> using <code>Microsft Bot Framework</code> and is deployed on <code>Skype for Business (SFB) channel</code>. </p>
  
  <p>Whenever a user interacts with Bot over SFB and asks to fetch some details, I want the Bot to get these details from my companies internal system using the user's authentication token which should have generated when user login to SFB. </p>
  
  <p><strong>So, is there any way to get user's token from SFB which the Bot can use to get the required information on user's behalf?</strong> I can't use the Bot credential to get the information requested by the user on his/her behalf. My companies internal system, SFB uses the same Azure AD for user authentication. </p>
  
  <p>I refer the questions <a href="https://stackoverflow.com/questions/44876191/authenticate-user-across-channels-in-microsoft-bot-framework">Authenticate user across channels in Microsoft bot Framework</a>, <a href="https://stackoverflow.com/questions/44101037/skype-for-business-channel-doesnt-pass-authentication-credentials-correctly">Skype for Business channel doesn&#39;t pass authentication credentials correctly</a> but that doesn't help me to answer my question. </p>
  
  <p>I referred <a href="https://stackoverflow.com/questions/42276830/authenticate-user-in-microsoft-bot-framework">Authenticate user in Microsoft bot framework</a> link and If I ask the user to authenticate by using something <a href="https://blogs.msdn.microsoft.com/tsmatsuz/2016/09/06/microsoft-bot-framework-bot-with-authentication-and-signin-login/" rel="nofollow noreferrer">https://blogs.msdn.microsoft.com/tsmatsuz/2016/09/06/microsoft-bot-framework-bot-with-authentication-and-signin-login/</a> then every time user ask some question, I need to ask the user to authenticate and that won't be a good for user experience as the user has already been authenticated over SFB. </p>
  
  <p><strong>Can someone please help me with some documentation that I can refer to resolve this issue?</strong> </p>