Invoke powershell activity is throwing error " RemoteException wrapping System.Management.Automation.CmdletInvocationException"

while executing invoke power shell activity getting this error message.
how to resolve this issue…

This is my flow

if any one have any idea about how to resolve this one…now i’m getting this error

“Invoke Power Shell: The ‘Update-MSGraphEnvironment’ command was found in the module ‘Microsoft.Graph.Intune’, but the module could not be loaded. For more information, run ‘Import-Module Microsoft.Graph.Intune’.”