Invoke-RestMethod – Could not establish trust relationship for the SSL/TLS secure channel

Just sharing another TIP from our real-world experience that we have gathered from one of the automation where we are using REST API to perform some operations. On connecting the rest API using Invoke-Restmethod PowerShell we were getting error:   The underlying connection was closed – Could not establish trust relationship for the SSL/TLS secure…

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…