Azure Automation supports .NET Framework 4.6 when running jobs within the service
The Azure Automation service has been upgraded to support PowerShell modules that have a dependency on .NET Framework 4.6 or lower running from the service.
Source: Microsoft Azure – aggiornamenti