Python – Connect SFTP and Upload files

We have recently been involved in one of the automations where we must upload the csv file automatically daily to vendor Secure FTP. This time we have utilized Python instead of PowerShell because of project requirements. I am sharing the code samples here to achieve it. Module required: pysftp Download the code samples from git…

Monitor PowerAutomate Flows for Failures

Most of the admins and developers working on automation have built hundreds of flows in PowerAutomate but they do not get timely failure alerts so that they can resubmit the flows. We were also facing the same issues with our ever-increasing flows and not getting the flow failure messages until later in the week. After…

AzureAD Stale Devices Cleanup

We have recently written this PowerShell magic by following the Microsoft documentation. How To: Manage stale devices in Azure AD This script has been parameterized to do multiple functions as per your needs. Prerequisites for this solution: vsadmin module Azure AD module Download the solution from below git hub link: (AzureMobileStaleDeviceCleanup.ps1) https://github.com/VikasSukhija/Downloads Download the solution…

MgGraph Sdk Extract Role Admins from AzureAD

As everyone in Technical Community is aware that MSOnline and AzureAD modules will be depreciated. We have started working on converting our automated solutions to use Microsoft Graph SDK. This is one of the solutions that utilize MSOL where we have extracted AzureAD roles and their assignments. Extract office 365 Role Admins | Tech Wizard…