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

Notifications

Announcements

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
I have the same question (0)

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 38 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 19 Most Valuable Professional

#3
TAHER Mehdi Profile Picture

TAHER Mehdi 12

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans