Developing UCWA applications for Skype for Business Online RRS feed

  • Question

  • Hi everyone,

    I'm trying to develop a simple java client that needs to access Skype for Business APIs in order to setup an online meeting (i.e. I need to retrieve a simple setup meeting URL by invoking an UCWA API).

    I followed this Microsoft tutorial step-by-step:


    1. I have an Office 365 Business Premium license and I configured a custom domain (correctly registered and added at the zone DNS file);
    2. I configured and registered my java client app on Azure (taking care to assign required delegated permission for Skype for Business capabilities);
    3. I performed the Sign-in phase and Azure is able to recognize me;
    4. I performed the Autodiscovery phase in order to retrieve the user's UCWA home pool;
    5. I sent a GET request to the Azure oauth2 endpoint with response 401 error (and this is the expected behaviour by the authentication handshake);
    6. Unfortunately I failed when I request an access token using implicit grant flow: Azure responds with a Sign-In HTML page rather than the json object containing the oauth2 access token.

    What's wrong on this GET request?

    GET https://login.microsoftonline.com/oauth2/authorize?

    response_type=id_token &client_id=my_application_client_id &redirect_uri=configured_redirect_uri &state=UUID_generated_code &resource=UCWA_home_pool HTTP/1.1 

    This GET URL looks like that one used for the Sign-In phase (step 3); I suspect that it isn't the correct request URL.

    I tryed to put my domain on the URL:


    and I tryed to put a common domain name (as reported on the documentation):


    But Azure still reponds with a Sign-In page (and response code 200 OK). 

    Can someone help me please?

    Tuesday, September 4, 2018 10:03 AM


  • I'd try asking for help over here.




    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Tuesday, September 4, 2018 12:45 PM