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);
});