Hello @Enterprise Architect
Welcome to Microsoft Q&A Platform, thanks for posting your query here.
Adding to previous response of ioan corcodel, if you needs to interact with other Azure services via PowerShell scripts, it is recommended to go with Azure Automation Account/Runbook. It has built in support for scheduling, supports the PS runtime 5.1 and 7.1 and support for managed identity to provide a granular RBAC permissions on different Azure resources.
Hope this helps.
If you need further help on this, tag me in a comment.
If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.