This guidance will walk you through restarting MCSA (MindConnect Software Agent) as Subtenant user in VFC.
Due to insufficient permission assigned for Subtenant users, they cannot restart device such as MindConnect Software Agent (MCSA) in Asset Manager Plugin UI; while, users can follow this guidance to restart MCSA through VFC as Subtenant user.
Go to Developer Cockpit, then issue one App Credentials with any of the apps you have in Developer Cockpit. Please be aware - you have to choose "Custom" option for your App Credentials.
Below is the App Credentials I have already issued for. You can see there are 3 scopes assigned to the credentials.
Keep the client ID and client secret of the credentials.
With this step, tenant Admin can be sure that the flow created by importing script in the following sections can be seen by Subtenant users.
Choose the Subtenant for which you would import the script and click "Show Flows of subtenant".
After successfully changing the identity, you would see the profile icon is in red.
Open the menu, and then choose the VFC script provided to import.
We will import it as a new flow.
After importing the script, we have to finish some setups beforehand.
See here, we need to configure for this node:
Double click on the node to open it.
Check the parameters highlighted in red below. Users have to reconfigure with their own values for these parameters.
gateway.eu1.mindsphere.io
At last, Subtenant users can log into the launchpad; then, they could view the Dashboard by the VFC script in the previous steps.
Click the dashboard to open it.
Please be aware: the owner of the dashboard should be the tenant Admins, as the dashboard is actually created by them.
Below is the home page of the Dashboard.
First of all, Admin or Standard users should provide the device ID to Subtenant users, because Subtenant users do not have access to Asset Manager MCSA Plugin.
Users can find the device ID as below steps:
And now, Subtenant users can check the MCSA device status with the device ID.
Subtenant users can input the device ID provided by other standard users to this field, and then they can check the device status.
The information of the device will be updated once you click on the button.
After you have checked the status, then you would be able to click on the button "RESTART MCSA" to restart the MCSA.
After the restart completes, you can see the "Last updated time" change.