Most secure way to enable Azure automation python runbook to access Microsoft Graph for an organisatinon
Hi all, I am needing to create an azure automation python runbook that accesses an organisation's Microsoft Graph and Microsoft 365, with the permissions to read and write to the Graph. I have seen several ways to do this, but am worried since this…
Azure automation source control sync jobs fail with "Exception: Job Failed. An unhandled exception occurred."
I have a test github repo set up with an azure automation account using source control. The source control sync job ran successfully twice on 26th Apr 2024, but now fails. There is no error given in the summary in the azure portal, the "all…
Update snapshot Property by using Azure Automation account
Hello, I have a Backup vault that takes snapshot for OS disks and shared disks everyday, during 14 days. When checking the snapshot file, the network setting is enabled public access from all network. Because there are a lot of snapshot file that I need…
Azure Update Manager support for CIS-Hardened Images (Windows)
Hello there, Any further update on support for CIS hardened images (Windows 2019/2022) in Azure Update Manager? What's the recommended action if the deadline arrives and the support is not ready? I saw somewhere else a possible option that would include…
How i can access a PostgreSQL server DB in a VNet in Azure thorugh python runbook inside an Automation Account ?
Hello team, I have a problem statement, i have an automation account in azure in which i have a python runbook in that runbook i have a script to make a connection to postgreSQL DB server and do some transactions in the DB but the problem is now i have…
Azure Automation: "Message":"You have reached the limit of allowed JobsByName API calls.
Hello, I am trying to start a runbook but am getting the following error Start-AzAutomationRunbook : {"Message":"You have reached the limit of allowed JobsByName API calls. Please retry after..." This Automation Account only has a…
Automation Account error - when Try to call stored procedure from Automation account getting error:
Traceback (most recent call last): File "/usr/src/tmp/8643d647-6858-4b74-88c5-96b2e28a66f4/runbooks/Dravosa.py", line 30, in <module> cursor = source_engine.raw_connection().cursor() File…
Runbook synchronization failing
Hello, I am encountering an issue with the synchronization of my runbooks. The source control integration in azure automation that fetches codes from an azure repository is currently failing to synchronize. Yet it was working properly until yesterday.…
Help getting python runbook (azure automation) to access microsoft graph (sharepoint files)
Hi all, I would love some help trying to get my python runbook to access my microsoft graph. I have followed this tutorial (https://learn.microsoft.com/en-us/entra/id-governance/identity-governance-automation) and have tested my certificates with a…
Permissions required for import_py3package_from_pypi to install python runbook packages and their dependencies
Hi all, I have been trying to install python runbook packages for a script that I am running. I am aware that I can manually upload each whl file for the packages, however, this does not manage the package dependencies. I then found the provided…
How can I get list of runbooks that uses a particular Database using PowerShell in a runbook
Hi , we have created plenty of runbooks to load data to our SQL warehouse. and the runbooks are keep increasing due to business need. we are in need of achieving particular task. that requires list of runbooks that is using the specific xyz database.…
How to automate turning off or suspending some Azure services to save money?
What Azure objects can we suspend or turn off outside business hours to save running costs? App Service: The app service implements the message compose experience in the team tab and the messaging endpoint for the bot. Service Bus: The individual…
Azure Automation Account - Powershell runbook stuck in Starting (intermittently)
Azure Automation Account - We have a Powershell runbook stuck in Starting (intermittently). Sometimes it works, other times its just stuck in Starting phase and never moves. Can't stop or cancel it
Need help creating an automation task to delete VM disk snapshots older than 60 days in Azure
Our organization has an issue with people creating snapshots for VMs on an ad-hoc basis. Sometimes, they do not remove the snapshot after it is no longer needed. I need to create some sort of automation that scans the entire subscription and deletes…
How to fix error for azure automation
Hi there, I have setup an automation app to stop and start a stream analytics job, following a guide from this doc https://learn.microsoft.com/en-us/azure/stream-analytics/automation-powershell Whenever the job is running, the runbook runs fine to stop…
Retirement Announcement – Azure Automation Update Management solution will end on 31st August 2024
On 31st August 2024, support for Azure Automation Update Management will end. The offering is dependent on the Log Analytics agent which will also deprecate the same day. Before that date, please migrate to Azure Update Manager, a native functionality…
View or export automation account modules
Is there a way to read/view or even export the code within a custom module created within an Azure automation account. I've inherited this account and it's runbooks, and there's a custom module being used that I don't have the source code for. I'd like…
Azure Automation Accounts
Hello, I tried to deploy Automation Account using bicep. Since this is first time to deploy AA so I deleted existing one and re-deploy it for multiple times. I suddently received following message: "code": "BadRequest", …
Getting an error in a runbook.
Hi there, I've created a runbook to handle offboarding users in office 365. I'm connecting to the graph API, and exchangeonline module. My runbook is working flawlessly except for one specific line which is giving me an error when ran in the runbook (I…
Uploading Python package to Automation Account
Hi, I am trying to upload a python package to an Automation Account but keep failing. The runtime is Python 3.8. I am quite new to the whole Azure scene but have followed the guide in …