I have created custom module and uploaded it in Azure Automation module section. Now when I try to run the command to fetch the list of modules, it is not showing over there. I have used PowerShell command and REST API also but it is giving me value of Default modules only. Is there any way I can get the details of custom module?
I have tried below 2 ways-
-
To Fetch the list of custom modules run the below
cmd
Get-AzAutomationModule -AutomationAccountName "<name>" -Name "MicrosoftTeams" -ResourceGroupName "<name>"
Also can able to see it from azure portal itself. Also make sure that you have added the custom module with some functionality .