Block tenant from using ACS resource

hirocc 41 Reputation points
2022-09-01T20:02:30.007+00:00

Hello, we plan to build multitenant app for teams calling and use single azure communication service resource for all complanies. My question is that in case some current customer(tenant) stop paying for our app subscription, then how can we block that tenant from making a call and use our ACS resouce.?
Is there a way to authorize that when creating each call?

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
676 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ebraheem Al-Muneyeer (MSFT) 951 Reputation points Microsoft Employee
    2022-09-06T12:54:23.027+00:00

    Hi @hirocc , Thank you for reaching us.

    Can you please provide a little more explanation about how you will be managing to create identities and access tokens? Are you going to generate that for them in your backend, or will they have your ACS key?

    Also, are you looking to have Teams interop or ACS calls?

    It is always recommended to protect your ACS resource key and to not share it with anyone or in your front-end (In case you are building a web application) or application (In case you are building a mobile application).

    So, if you are managing to generate identities and access tokens on their behalf in your backend, you can keep track of each customer's identities, and if required you can revoke them as mentioned in the documentation here access-tokens, but please note that once the identity is revoked you can't revert that, and you need to generate them a new identity if required.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful