web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Unanswered

CIF 2.0 Presence APIs always returns FAILED

(2) ShareShare
ReportReport
Posted on by 4
Hey there D365 Community,
 
I'm struggling with using the CIF 2.0 presence APIs in a third party voice channel integration.
So far, we have successfully used Microsoft.CIFramework.searchAndOpenRecords, registered a listener for the CIFInitDone event, but whenever I'm calling the Presence APIs, I'm receiving the FAILED string as a response.
 
I'm not seeing any activity in the DevTools Network Tab or Fiddler, so it appears that there aren't even any requests being sent to the platform.
 
My user is assigned to the correct workstream, I have the correct Personas, other CIF Methods work. Pretty lost on what to do here.
 
Additional Info:

The widget itself is just a wrapper around a third party softphone implementation that picks up messages and relays them to the CIF Framework. I thought that maybe there was an auth issue, but since I'm capable of using the other methods, I'm not sure if that's actually the case.
window.addEventListener("CIFInitDone", async () => {
    console.log("CIFInitDone");
    const presence = await Microsoft.CIFramework.getPresence();
    console.log("Presence", presence);
});
workspace settingschannel settings

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Travis South Profile Picture

Travis South 54

#2
Syed Aqib Raza Profile Picture

Syed Aqib Raza 40

#3
ParthPatel249 Profile Picture

ParthPatel249 35

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans