Run a command on all tenants from master

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Please sign in to see details of an important advisory in our Customer Advisories area.

Run a command on all tenants from master

L3 Networker

hi everyone,


I need some help with microsoft graph integrations with multi tenancy


I configured an instance of Microsoft Graph Mail Single User integration in the master and want to sync to all the tenants. Simply syncing won't work because the integration has to run at least once to be initialized before the oproxy token expires. msgraph-mail-test command can initialize the instance but I have to run this command on all tenants.


How can I run a command on all the tenants at once? Incidents page allows command execution but none of the tenants have incidents open atm so I can't do that


L3 Networker

There is no functionality to run a command on all tenants at once. You may be able to do this using an external script that utilizes each tenant's API to iterate through each tenant to run the command though.

  • 1 replies
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!