3

I am trying to make a call in one of the channels in MS Teams via Postman.

I followed all the steps mentioned in the below article. I have also given all the required permission.

Create Call to Teams using GRAPH API - BETA

I am able to successfully retrieve other beta APIs but with /beta/app/calls I am getting the Application is not registered in our store error.

Initially, I got Unsupported AAD Identity error but, that I solved as per the steps mentioned in the below reference.

Solve Unsupported AAD Identity Error

Note: I tried to make the call from SPFx web part but over there also I am getting the same error.

My main goal is to make a call to channel of the team and all the members should get the notification for the same. (Same as meet now button's functionality in teams app)

Any help will be appreciated. Thanks in advance.

2 Answers 2

1

I solved this issue by generating an access token without user as mentioned Get access without a user and passed it in the authorization.

6
  • The downvote is appreciated. It will be great if you let me know the reason for the same. Oct 31, 2019 at 4:29
  • Hey! This has been a while... But I'm stuck at the same issue. I can retrieve Users and their Graph information. But as soon as I try to get anything Teams related I keep getting "Application is not registered in our store.","instanceAnnotations". Do you know how to fix this? I have all the rights with admin consent...
    – Akaino
    Feb 13, 2020 at 8:18
  • did you tried the solution I have mentioned in the answer? Feb 13, 2020 at 8:45
  • Well, we created a Service Principal in Azure which I use to authenticate against https://login.microsoftonline.com/{tenandID}. So I guess that's what you did, correct?
    – Akaino
    Feb 13, 2020 at 8:48
  • Can you please try to generate the authentication token same as mentioned in the docs.microsoft.com/en-us/graph/auth-v2-service link? Feb 13, 2020 at 9:00
0

You need to register in azure app registrion portal

Following are the steps:

  1. Register your app.
  2. Configure permissions for Microsoft Graph on your app.
  3. Get administrator consent.
  4. Get an access token.
  5. Use the access token to call Microsoft Graph.

Need to use "application ID" and Client "secret key" for authorization. Need to set permision to use Microsoft graph API (Like read , write permission). Then grant admin consent permissions for accesing api. A token is generated for authentication based on above configurations.

Reference link : https://docs.microsoft.com/en-us/graph/auth/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.