r/halopsa • u/flippyr25 • 11d ago
Microsoft CSP integration: offboarded users still counted for billing
We've restructured our managed service agreements into two types: Email Only and Full Managed Service. To support automated billing, we've created a product for each, and we'd like the line items to pull in the live count of managed service users.
We plan to tell the two apart by licence type. Users with Microsoft 365 Business Basic would count as Email Only, and users with Microsoft 365 Business Premium would count as Full Managed Service.
At first we mapped users directly, but Halo was importing all users, including unlicensed ones. To fix this, we went to Configuration > Integrations > Microsoft CSP > Tenant and set it to import only users with a Microsoft licence.
To test this, we removed a user's licence and converted their mailbox to a shared mailbox. The user wasn't deactivated in Halo, though, so they're still being counted and billed.
Is there a setting I'm missing that would stop offboarded users from counting towards the integration? And can the user count for each product be based on the assigned licence type, so that Business Basic and Business Premium users go to the right line item?
1
u/HaloAidan Halo Staff 11d ago
Hi there, if the required license isn’t against the user, they will be imported as a service user (doesn’t count towards billable users). You can check this by navigating to their user in Halo and on the details section (usually this is pinned to the right hand side of the user screen), there will be the service user checkbox which will be turned on via the csp sync. You can also manually mark a user as not included in automated billing if you want to manually set it for csp users.
1
u/ops_tech_guy 8d ago
That import toggle has been flaky for a while.
For the two-tier setup you described, I'd try tying your Email Only and Full Managed Service recurring invoice lines straight to the assigned licence counts (Business Basic and Business Premium) instead of total managed users.
As long as you strip the licence when converting to a shared mailbox, your billed quantity should drop automatically on the next sync.