Skip to content

[PowerShell] How to create the CloudMonitor Synapse B2B User

Please find the “1_AddSynapseB2BUser.ps1” from the ConfigureB2BSynapseCloudMonitorUser folder and execute it in the PowerShell.

Please provide the necessary inputs when required.

If the final output looks like below,

Successfully invited the CloudMonitor Synapse User (synapse@cloudmonitor.ai) as a Guest B2B user to your tenancy.

It means the user creation is successful.

After the successful execution of PowerShell script, Please move to the Azure Portal and follow the next steps,


Open the “Cost Management + Billing” section in the Azure Portal. Note: This is not at the Subscription level and you will need to be a Global Azure Admin to do this.

Step 3 screenshot

Select the Billing scope you want to grant a Billing account reader role to.

Step 4 screenshot

Click “Access control (IAM)” and click ” + Add”

Step 5 screenshot

Choose “Billing account reader”. This does not have any permissions to write any data.

Step 6 screenshot

Lastly, select the B2B Synapse User you added for CloudMonitor and click on Add.

Step 7 screenshot