Search code examples
azure-active-directorymicrosoft-graph-apiskype-for-business

Adding Skype for Business scope to v2.0 Azure app


I am creating a v2.0 application via the new Microsoft Application Registration Portal (apps.dev.microsoft.com) and I can't find where to add scopes for other non-Graph APIs. Specifically Skype for Business.

In the classic Azure portal, i had access to this screen which allowed me to add scopes for other APIs:

enter image description here

In the new Application Registration Portal, the only place I see to add scopes is here:

enter image description here

and Skype for Business is not an option there.

How do I add the Skype for Business scope to v2.0 apps?


Solution

  • The Skype for Business APIs (Web SDK, UCMA, UCWA, etc.) currently do not support the v2 Endpoint.

    At the moment the majority of Microsoft APIs do not support the v2 Endpoint. Given the enormous legacy of APIs Microsoft supports, there unfortunately isn't an exhaustive list. Generally, unless the API documentation expressly states support for the v2 Endpoint or Converged Authentication it means you'll need to use the v1 Endpoint.

    One aside on permissions with the v2 Endpoint. With the v1 Endpoint you requests access by "resource" and pre-defined the permissions you required within the Azure Portal. The v2 Endpoint no longer uses resources however; it now uses "scopes" that are dynamically defined during the authentication workflow. For more details see Scopes, not resources.

    I'd recommend adding this request to the UserVoice site. This will help ensure this remains on product teams radar going forward.