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...
Suggested Answer

Status codes Automation on Agent Status in D365 for Inbound Outbound calls

(1) ShareShare
ReportReport
Posted on by 8
We have designed the IVR Calling setup using IVR Copilot Studio and the Client Requirement is to to perform Automation when any Inbound call is received to set the custom status code Automatically to "Inbound call (DND)" and once the call is ended, only after 30 seconds the next status of "Available" should be automatically set. Is there any such automation capability to shuffle between different Agent status codes in D365 along with setup of the seconds interval for status switching automation? 
 
Attached the current OOTB status that are present in D365. Please suggest.
agent status.png
I have the same question (0)
  • Suggested answer
    Daniyal Khaleel Profile Picture
    764 Most Valuable Professional on at
    Use Custom Presence + Power Automate Plugin
    While you can’t directly set presence using Power Automate, you can use Omnichannel for Customer Service SDK /APIs to trigger presence updates.
    Technical approach:
    • Use an Omnichannel Presence API or internal Dataverse entity (msdyn_agentstatus) to define your custom presence (e.g., Inbound call (DND)).
    • Build a server-side plugin or Azure Function triggered by an event:
    • The call start event (from msdyn_ocsession or msdyn_ocsessionsummary) sets the presence → “Inbound call (DND)”.
    • The call end event triggers a timer (Azure Function delay 30 seconds) → sets the presence → “Available”.
    • Entities to watch:
    • msdyn_ocsession → stores active session info (start, end)
    • msdyn_presence → shows current presence of the agent
    • You’ll need a server-side component (plugin or Azure Function) for reliable presence switching.
  • Devashri Profile Picture
    8 on at
    Can you give link of API which we can use for setting the presence to inbound call?

    Also, is this API provided by Microsoft?

    As, anything after transfer to agent step does not gets execute, then what will be trigger of server side plug-in?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
11manish Profile Picture

11manish 36

#2
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 32

#3
ManoVerse Profile Picture

ManoVerse 30 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans