Home

Create External IM Contacts via GRAPH API

%3CLINGO-SUB%20id%3D%22lingo-sub-389266%22%20slang%3D%22en-US%22%3ECreate%20External%20IM%20Contacts%20via%20GRAPH%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-389266%22%20slang%3D%22en-US%22%3E%3CP%3EWhilst%20I%20can%20create%20External%20Outlook%20Contacts%20via%20GraphAPI%20which%20SfBO%20Clients%20pick%20up%20via%20the%20Unified%20Contact%20Store%20how%20on%20earth%20do%20you%20do%20this%20for%20Teams%20%3F%3CBR%20%2F%3EI%20have%20created%20an%20external%20contact%20for%20the%20user%20principal%20name%20in%20question%20but%20this%20only%20appears%20as%20a%20%22%20PSTN%20Contact%22%20only%20-%20as%20this%20is%20an%20Outlook%20Contact%20Card%20that%20the%20GRAPH%20API%20Creates...%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EIf%20I%20manually%20create%20a%20contact%20in%20Teams%20I%20have%20IM%2FCHAT%20Available%20for%20this%20contact%2C%20however%20if%20I%20perform%20a%20GET%20via%20Graph%20for%20this%20users%20contacts%20this%20manually%20created%20one%20does%20not%20appear%20and%20only%20the%20API%20Created%20contacts%20appears%20%3F%3F%3F%20(I%20have%20populated%20IM%20Addresses%20etc...%20still%20no%20cigar...%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EDoes%20anyone%20know%20if%20creating%20a%20contact%20for%20Teams%20users%20via%20Graph%20can%20be%20achieved%20in%20the%20same%20manner%20that%20Teams%20creates%20contacts%20manually%20%3F%20If%20not%20is%20it%20on%20MSFT%20Roadmap%20to%20implement%20this%20%3F%3CBR%20%2F%3Ei.e.%20will%20we%20get%20exposure%20in%20the%20API%20to%20native%20Teams%20contacts%20rather%20than%20Outlook%20Contacts%20%3F%3CBR%20%2F%3E%3CBR%20%2F%3EAs%20a%20side%20note%20a%20%22new-azureadcontact%22%20cmdlet%20would%20be%20really%20cool.....%20Does%20not%20exist%20%3A(%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-389475%22%20slang%3D%22en-US%22%3ERE%3A%20Create%20External%20IM%20Contacts%20via%20GRAPH%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-389475%22%20slang%3D%22en-US%22%3E%3CP%3ESo%20I%20have%20managed%20to%20workaround%20this%20by%20creating%20external%20guest%20azure%20AD%20Users%20via%20Beta%20GRAPH%20API.%3CBR%20%2F%3EIt%20would%20be%20cool%20if%20we%20could%20just%20leverage%20for%20Teams%20the%20existing%20mail%20contacts%2Fazure%20AD%20Contact%20objects%2C%20rather%20than%20having%20to%20create%20a%20%22Guest%20Azure%20AD%20User%20Object%22...%3C%2FP%3E%3C%2FLINGO-BODY%3E
Mehmet_Kocak
Occasional Contributor

Whilst I can create External Outlook Contacts via GraphAPI which SfBO Clients pick up via the Unified Contact Store how on earth do you do this for Teams ?
I have created an external contact for the user principal name in question but this only appears as a " PSTN Contact" only - as this is an Outlook Contact Card that the GRAPH API Creates...

If I manually create a contact in Teams I have IM/CHAT Available for this contact, however if I perform a GET via Graph for this users contacts this manually created one does not appear and only the API Created contacts appears ??? (I have populated IM Addresses etc... still no cigar...


Does anyone know if creating a contact for Teams users via Graph can be achieved in the same manner that Teams creates contacts manually ? If not is it on MSFT Roadmap to implement this ?
i.e. will we get exposure in the API to native Teams contacts rather than Outlook Contacts ?

As a side note a "new-azureadcontact" cmdlet would be really cool..... Does not exist :(

 

1 Reply
Highlighted

So I have managed to workaround this by creating external guest azure AD Users via Beta GRAPH API.
It would be cool if we could just leverage for Teams the existing mail contacts/azure AD Contact objects, rather than having to create a "Guest Azure AD User Object"...

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Early preview of Microsoft Edge group policies
Sean Lyndersay in Discussions on
65 Replies