Troubleshooting Errors When Running a PowerShell Package via Gateway¶
This article provides guidance on how to resolve common errors that may occur when running a PowerShell package through Gateway.
Issues and Solutions¶
If you encounter the following error message, it indicates that the user executing the script does not have access to the Az library:
Register-AzModule : The term 'Register-AzModule' is not recognized as the name
of a cmdlet, function, script file, or operable program. Check the spelling of
the name, or if a path was included, verify that the path is correct and try
again.
To resolve this issue, check the following:
- User Access: Ensure that the user running the Gateway service has the necessary access to the Az library folder.
- Disk Space: Verify that the server hosting the Gateway service has sufficient disk space available.
- RAM Availability: Confirm that the server running the Gateway service has adequate RAM to execute the script without running into memory issues.
Discussed in the community
Looking for related questions…
Didn't find your answer? Ask the community about this page — questions are answered by Timextender experts, partners and other users.