r/copilotstudio • u/0_ice • 9d ago
How is billing handled when calling a M365 agent via Copilot action?
M365 agents are on a "flat-rate" given by the per-user license (m365 copilot premium).
If you call such agents from a Copilot Studio workflow - via the Copilot - Chat - action, are they suddenly appearing in workflow billing or not? Or just the API calls to whatever the agent is supposed to do (research a topic, output as file, etc..)
I'm asking because we saw a simple 3 step workflow (trigger - call an M365 agent with copilot action - send an email) consume hundreds of credits...and it can't be from the trigger or send an email actions...
In the workflow activity tab there are 3 runs. Each shows below 1 credit consumption.
However the total consumption in the monitor tab shows over 500 credits.
What and how is this happening?
To make things even more interesting, I have another workflow that is showing more (estimated apparently) credit usage in the activity runs (20-60 credits) but in the monitor tab the overall consumption is not even 2 credits.
5
u/fdezjoe 9d ago
Hey! I'm from the Copilot Studio team. The credit consumption you see in the Monitor tab should indeed reflect the sum of all the runs in the Activity tab. If you've only had three runs, this discrepancy shouldn't be happening.
Feel free to DM me the URL of your workflow (which contains the workflow ID), and I'll be happy to investigate.
1
u/Eric_T_Meraki 9d ago
What type of agent harness are you using?