Blog

Retrieve and Export Azure Automation Jobs with All Parameters

This PowerShell script retrieves Azure Automation jobs from the last 7 days for a specific runbook, enriches each job with missing details, normalizes all parameters, and exports everything to a CSV file for easy analysis. This can be incredibly useful for operational monitoring, auditing, and troubleshooting. In many environments, runbooks are triggered with dynamic input…

Automatically renew access token during script execution in PowreShell

Sometimes we encounter scenarios where scripts have a longer runtime. If we are using tokens with expiration time, this can cause issues if the script runs longer than the token’s validity period. I have written a small script that automatically renews the token during script execution. This way, you don’t have to worry about managing…

Trigger Azure Automation Runbooks Using the Azure Management API

  Introduction This lines providing you step-by-step instructions on how to use a PowerShell script to trigger an Azure Automation Runbook using Azure REST API. We will explore each step from setting up authentication to retrieving the execution output of the runbook. Prerequisites Before starting, ensure that you have the following: Azure Subscription: You need…

Reset Microsoft Authentication Methods

Normally, it isn’t much effort to Reset the Multifactor Authentication Methods.Find the User record in Entra ID and require re-registration of the Multifactor Authentication Methods.If you wondering why we need to reset these authentication methods What are the Reasons for an Reset ? But what if you have a big amount of Tickets a day…

Send Mails with Graph API – PowerShell

Introduction: In this tutorial, we’ll walk through the process of creating a script to send emails using the Microsoft Graph API. We’ll cover all the necessary steps to set up the script and utilize the Graph API effectively. The methods we’ll use for creating the email body can also be applied to other Graph API…

Export System Center Orchestrator PowerShell Scripts

This PowerShell script connects to a SQL Server database, retrieves PowerShell scripts, and saves them to the local filesystem. Parameters Function: Execute-SqlSelectQuery This function executes a SQL query and returns the result. Parameters Expected Result After running the PowerShell script, you can expect to receive a collection of objects representing the results of the SQL…

Running Exchange Online Commands in Azure Automation using Managed Identity

Discover how to effortlessly integrate Exchange Online into your automation workflow with Azure Automation and Managed Identity. In this step-by-step guide, we’ll walk through establishing a secure connection to Exchange Online for a smoother and more efficient automation experience. If you have an Hybrid Worker make sure you have also installed the Module on your…

Azure AD PWD Protection | User Password change Monitoring

In this article, we will provide an informative overview of Azure AD Password Protection and its associated benefits. Additionally, we will guide you through the process of utilizing event logs to monitor user password changes, highlighting the importance of employing Azure AD Password Log Monitoring in Audit Mode. Azure AD Password Protection is a powerful…

Upload Files 2 SharePoint Online using GRAPH API

Sometimes it is needed to Upload Files to Sharepoint Online. One solution is to use the Graph API. Let me show how we can achive this goal. There are 2 solutions with Graph API Upload Files up to 4MB Upload Files with a File Steram bigger than 4MB First we will do the easy way…

Something went wrong. Please refresh the page and/or try again.


Meinem Blog folgen

Erhalte Benachrichtigungen über neue Inhalte direkt per E-Mail.