r/halopsa • • 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?

2 Upvotes

5 comments sorted by

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/flippyr25 10d ago

Hi,

Thanks for the reply. Can you confirm I've understood this correctly?

When the Microsoft CSP sync runs, any user without the required licence is imported or updated as a service user, and service users aren't included in the automated billing count. So once a user's licence is removed and the sync runs, they should be flagged as a service user automatically and drop out of the billing count, without needing to be deactivated in Halo. If needed, we can also mark a user as excluded from automated billing manually.

I can see by aretokas comment, this functionality is currently having issues following an update? Can you shed any more light on that? Perhaps this is the reason why it's not working for me.

1

u/mooseable 9d ago

Apparently, you've got to turn off "delta sync"

0

u/aretokas 10d ago

No, actually - I created a ticket about 1.5 days ago where the CSP integration isn't taking any notice of licenses. AGAIN.

We have ours set to 'dont import without a licence' and it's importing service accounts and shared mailboxes and not even having the respect to mark them as service users.

It used to work, but something broke in one of the most recent updates.

1598380

While you're looking maybe you can work out why our tickets aren't getting looked at. Maybe a third set of eyes will help. 🙄

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.