Form help needed
I could not delete the question for some reason, so this is what was left
STDOUT in AZurePowershell
Hi Team, I am using the CData PowerShell connector in an Azure PowerShell runbook and attempting to generate logs with the -logfile "STDOUT://" option. However, I am unable to see any logs in the console. When I try the same configuration in…
How to publish a Runbook to latest runtime version using blob storage?
Hi, so i have written a Powershell script that publish a files to my blob storage, and i got it to upload the file(s) to Process Automation/Runbooks. But i cant seem to get the Runtime version to the latest, how can i do that? Right now a part of the…
Powershell to .exe - ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2'
I am having an issue converting a powershell script to .exe The issue seems to lie with connecting to exchange. Is there a better way to do this when converting to .exe? When running in powershell it seems to work fine. Powershell version 7.4.4…
PowerShell Script to list all the files and folders that are being shared in a document library
Hello, I am trying to find out which folders or files on a Document Library are being shared, either internally or externally, and who was it shared to. Is there a powershell script that does this? Best.
A Datetime object string value coming from MSGraph is corrupted with an extra ending space, what is causing this ?
I am retrieving lastsigninDateTime of users with MSGraph, and I came upon this error with one of the users. It seems like the string value has an added space or null character in this case for some reason, and it can't properly convert this to a Datetime…
AZURE Disable "Enable Always-on soft delete" option
Hello everyone. I am currently stuck after accidentally activating the "Enable Always-on soft delete" box on my vault, and I cannot uncheck it, delete the vault, or delete the resource where the vault is located. I followed the microsoft…
I need a full list of all mailboxes, shared mailboxes, and resources.
I am trying to get a single list that will show me all of our mailboxes, shared mailboxes, and resources, as well as show the license type. When I run this command (Get-Mailbox -ResultSize Unlimited | Select-Object DisplayName, RecipientTypeDetails,…
Connect Azure Automation Account to Azure SQL using Managed Identity
Hello, I'm trying to create a Runbook (Powershell) to connect to Azure SQL Database and then add an Entra ID user in that database. If there is way to do so in CLI commands it's fine by me. The problem is that we're always stuck at the DB connection step…
How to get Get-TeamsProtectionPolicy function to use with Microsoft 365, since I'm getting an Exchange path error when trying to import the ExchangePowerShell module?
Hello all, I'm using PowerShell version 5.1.26100.2161 in case that's relevant. What I'm trying to do: I'm trying to use the PowerShell functions Get-TeamsProtectionPolicy and Get-TeamsProtectionPolicyRule to view a company's Teams protection policy…
permissions for New-AzAKSCluster
Hello, I have 2 Azure environments (different Tennant / Subscription). In the first Tennant the script is running New-AzKeyVault ... New-AzAKSCluster ... without any problems... In the 2nd environment, New-AzKeyvault ... runs perfect and creates the…
Need to uninstall Java with SCCM deployment
In my environment, I need to uninstall Java from machines. Multiple versions of Java are installed, but I want to deploy a single script that can uninstall Java regardless of its version. Could you please suggest a PowerShell script to achieve this…


Runbooks issue
SharePointExcelAutomation code does not run all the way. Copilot cannot give solution for errors. We need someone from Microsoft Support.
How to bulk edit user's manager in Entra
Hi All, I was trying to bulk edit the user's properties. I have completed the Department, Username, etc. But I cannot edit the Manager Field. I have got this error Update-MgUser : Cannot process argument transformation on parameter 'Manager'. Cannot…
Sharepoint powershell for viewing all comments in pages, on a sharepoint site
I got referred here from this query. https://answers.microsoft.com/en-us/msoffice/forum/all/collecting-a-list-of-all-comments-made-in-the/e1ab0dbf-f9fe-43e2-a014-af6abdcaf2e8?rtAction=1738593869018 I've never used PowerShell before, and so will need to…
Powershell O365 Migration Error
Hello Please i need your help on this issue. Testing a migration account and getting an error.
Maven doesn't work
I am trying to use maven from Azure Portal and i am facing a problem in the powershell(also in the bash shell). Maven gave me this error on every command that i try to run: Someone can indicate to me what is the problem?
Azure CLI ERROR when add extensions: An error occurred. Pip failed with status code 1
Hi everyone I'm trying to add extensions in Azure CLI with the command: az extension add --name subscription however I get the following message: An error occurred. Pip failed with status code 1. Use --debug for more information. Here the debug…
SPMT - Make CSV - PowerShell
Hi I want to migration from FileServer to SharePoint/Teams files. I have SharePoint Migration Tool (SPMT) and I need to make a CSV file there for migration task. I mean Bulk Migration CSV , to migrate content using a list of sources and destination. I…


Vulnerability CVE-2024-21413
I manage an Azure AD Does anyone have a powershell script that can help me remedy CVE-2024-21413 ? It asks me for a Detection script file and a Remediation script file. Thanks for the help.