Jul 23 2021 12:33 AM
in my teams tab i have followed the below link and authenticated Teams Tab.
https://docs.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/authentication/auth-aad-sso
I want to able to use graph tool kit with out Login component as i have sso for tab,
is it possible to do so? if so can i call the graph toolkit components
Jul 30 2021 12:18 AM - edited Jul 30 2021 12:21 AM
@Umag98 - Hello,
Have a look at Microsoft Graph Toolkit providers. You can use Custom provider - Microsoft Graph | Microsoft Docs. Let me know if you need any help.
Thanks,
Hunaid Hanfee
--------------------------------------------------------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
Aug 24 2021 01:28 AM
I tried using the simple provider.
it is not working as expected.
Aug 26 2021 12:27 AM
Aug 26 2021 05:10 AM
@ChetanSharma-msft '
As I already have a accessToken, i can pass that right, or should i pass the assertion token from the teams ?
Aug 27 2021 12:11 AM
@Umag98 : Hello I have tried this with access token I got following this doc: Get access without a user
I tested with the snippet you shared and it worked fine. Could you please tell the endpoint you are using to get access token? Also, it would be better if you can share the whole request(by hiding the private information). Please go through this question to understand more about the error you got :
Access token validation failure. Invalid audience. - Microsoft Q&A
Aug 27 2021 04:02 AM
Aug 30 2021 02:55 AM
@Umag98 :
Hey,
I think you should use this endpoint
https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token
Please follow this:
Get access without a user -> Get an access token
Also you need these permissions : link
Sep 03 2021 06:48 AM
Sep 03 2021 08:44 AM
Sep 03 2021 10:22 AM
Sep 03 2021 12:40 PM
Sep 06 2021 12:09 AM
@Umag98 - Hello ,
I have shared Permission in previous comment -
@HunaidHanfee-MSFT @ wrote:
Also you need these permissions : link
Please follow this link: People-picker - Microsoft Graph Permissions.
Please have a look, let us know if you have any query.
Thanks
Sep 15 2021 12:44 PM
Sep 17 2021 12:39 PM