Open ybutkevych opened 8 years ago
This might be due to UCWA not returning the rel=me
resource (please check the response for POST /applications
- it contains that rel=me
resource with name, title and other contact details) and UCWA usually does that when the access token presented in the Authorization
header doesn't contain the User.ReadWrite
scope, which in turn happens when the scope isn't added in the AAD config. To check if my speculation is correct, please do the following:
POST /applications
has the rel=me
resource.Authorization
header and decode it:t = "ey....Yz"; // this is your token
p = t.split("."); // this gives an array of 3 elements
b = atob(p[1]); // base64 decoding
d = JSON.parse(b);
d.scp; // this is the set of scopes
Thanks for your response. Indeed, there is no User.ReadWrite scope added in AAD config.
I can only see Contacts.ReadWrite, Conversations.Initiate and Meetings.ReadWrite.
Unfortunately, there is no option to add scope User.ReadWrite for Skype for Business Online in Azure
Are there any ways to add this scope or it is not supportable yet?
Thanks
No, currently it is not possible to add this scope on the Azure portal.
The scope is now available on Azure (Read/Write Skype user information (preview)). With that scope selected you should get MePerson information.
Hi guys,
I can login into Skype for Business Online. However, I cannot retrieve any info about the logged user (email, presence, photo, etc). Do I need to add some configuration to Azure AD or this functionality is not currently supported?
Thanks