Invoke-PnPTenantTemplate did not perform any action and ends after 2 seconds only
I have 2 tenants; Source & Destination. I export the site from source and try to invoke it inside the destination, but it failed, here are the steps i followed:- Connect-PnPOnline -Url "https://source.sharepoint.com/sites/Projects"…
Connect-ExchangeOnline in Azure Automation account gives Unable to find type (EXO 3.5.1 PS7.2)
I have setup an Azure Automation account and loaded the EXO 3.5.1 module along with PackageManagement V1.4.8.1 and PowerShellGet v2.2.5. I open a new PowerShell runbook and just posted a Connect-ExchangeOnline -ManagedIdentity - Organisation…
How can we disable vTPM(Trusted platform module) for Windows Virtual machine using powershell script
We are trying to move our windows 11 VM from one cluster to another which requires vTPM (Trusted platform module) to be disabled. After re-enabling vTPM after performing the migration we get tmp error - C0090016, TPM has malfunctioned Microsoft 365…
how to disable vTPM using powershell script
We are trying to move our windows 11 VM from one cluster to another which requires vTPM (Trusted platform module) to be disabled. After re-enabling vTPM after performing the migration we get tmp error - C0090016, TPM has malfunctioned Microsoft 365…
WARNING: Unable to acquire token for tenant 'organizations' with error 'InteractiveBrowserCredential authentication failed: Method not found: 'Void Microsoft.Identity.Client.Extensions.Msal.MsalCacheHelper.RegisterCache(Microsoft.Identity.Client.ITokenCa
Hi Team, Can someone here please assist me with this error to connect my PowerShell session using the Connect-AzAccount ? PS C:\WINDOWS\system32\WindowsPowerShell\v1.0> Connect-AzAccount WARNING: Unable to acquire token for tenant 'organizations' with…
Programmatically activate my Entra ID assigned role from PIM using PowerShell
I usually go to this page: https://entra.microsoft.com/?feature.msaljs=true#view/Microsoft_Azure_PIMCommon/ActivationMenuBlade/~/aadmigratedroles/provider/aadrolesto activate it via GUI. How can I programmatically activate my Entra ID assigned role from…
Unable to get full list of users with Legal Hold
Hello All, I tried this command to get all users who are placed on Holds Get-Mailbox -ResultSize unlimited | where{$_.InPlaceHolds -ne $null} | FL DisplayName,PrimarySmtpAddress,RecipientTypeDetails,InPlaceHolds | Export-Csv -Path…
Is there a PowerShell statement that can Update a server with User Managed Identies?
Hi Is there a PowerShell statement that can Update a server with User Managed Identies? like this : az sql server update -g myResourceGroup -n myServer -i \ --user-assigned-identity-id…
Is there any powershell script by which I can find utilization details of the disks attached to a particular virtual machine?
I want to know how much is the free space and how much is the available space for all the disks present in a particular virtual machine ? FYI: The VM is present in Microsoft Azure.
Aspire Dashboard is not showing the updated start time of the containers and unable to start/stop containers using PS command line
I have deployed Dotnet Aspire Project using azure developer cli.- Multiple deployments are completed but the start time is not updating with each new deployment.- However active revision time is updated when i check it from Azure Portal.- How can i…
PowerShell script to wipe\reset windows modern devices without user interaction
I attempted to reset a modern Windows device using various PowerShell scripts at different permission levels, including silent mode. However, a prompt still appears during the process. Is there a PowerShell script available that can wipe the device's…
About Deleting Intune/Entra ID device using powershell
Can anyone tell me the powershell that delete the Intune and EntraID device I try to search on internet but couldnot found It will be great help if anyone provide me this Thank you
How to fix Error Acquiring Token
I'm getting this error whenever i try to connect to Exchange online using PowerShell as Admin and I can't figure out how to fix it. Error Acquiring Token: Unknown Status: Unexpected Error: 0xffffffff80070520 Context: (pii) Tag: 0x21420087 (error code…
How can I perform bulk changes for the Microsoft Authenticator Apps registration?
I have several thousands of users in my company that are still using SMS as the primary authentication methods without anything else. How can I perform the bulk enroll or add the Microsoft Authenticator apps to the below user settings ? Thank you in…
Adding Metadata to an Azure Analysis Services Database
How can metadata be added to a database or cube in Azure Analysis Services? Specifics include adding information such as descriptions, data officer contacts, and data stewards. What steps or methods are available to achieve this?
Is there any function by which I can get details of Data disks attached to the VM like Disk Size,Space allocated/Remaining disk space ?
I am trying to get the details for Data Disk attached to the particular VM. The Main purpose is to get notified when the disk space is highly utilized. I can get the names of Data disks attached to the VM , but not getting the details like Disk…
How to resolve New-AzResourceGroupDeployment: - The deployment 'DataBricksDeployment' failed with error(s). Showing 1 out of 1 error(s). Status Message: The definition of application 'Databricks25' cannot be null. (Code:InvalidApplicationDefi
God day Does anyone know what could be causing this error. New-AzResourceGroupDeployment: 10:06:59 - The deployment 'DataBricksDeployment' failed with error(s). Showing 1 out of 1 error(s). Status Message: The definition of application…
SharePoint Online: Find Duplicate Documents using PowerShell
Could someone post a working script for getting a list of duplicate files in Sharepoint Online? The scripts formerly posted no longer work.
Generate Monthly Reports for Newly Created SharePoint Online Sites
Hello I am looking for assistance in generating monthly reports of newly created SharePoint Online sites. Specifically, I would like to achieve the following: Generate a list of all newly created SharePoint Online sites in the last 30 days. Use…
How to launch Microsoft Edge to a specific Workspace?
How can I launch Microsoft Edge directly to a specific shared Edge Workspace, ie what is the command line switch? Preferably I would like to launch two workspaces at once; more preferably I would like to launch them on to the last desktop region that…