Forum Discussion

  • sriatom , You need to reauthorize and get a new token for delegation permission. In case of web hooks, you can't reply to specific message by using one. They are meant to post notification to user or channel but not to reply to specific message in conversation. Hope this helps. 

    • sriatom's avatar
      sriatom
      Copper Contributor

      Manish-MSFT thanks Manish, this helps. Can I keep both the token and switch back and forth based on the request? 


      For getting an user based authentication token, should I use this method?

      https://docs.microsoft.com/en-us/graph/auth-v2-user

       

      I am not a programmer, so if you can please give me some input on how to authenticate, it would help. i am currently using "ADAL" framework in python

      context = adal.AuthenticationContext(
      authority_url, validate_authority=TENENT_NAME != 'adfs',
      )