DisConnect-MgGraph not resetting Scopes
Please can you help. I am new to MgGraph in PowerShell I have been playing around with different scopes. I now want to remove then, so that I get back to least privilege to deploy my powerhouse scipt. I have restarted powershell Issued Disconnect-MgGraph…
Can we get a list of Microsoft forms made by a specific user or all users in a Tenant using MS Graph API or PowerShell?
Hi All, We need to list all forms created by a user with their Display name, UPN, Created date and the URL to the form. I'm asking this because we are in a middle of a business aquisition and and we need to migrate this data from our tenant to another…
Exporting very large OneDrive content ?
How can I save OneDrive for Business files to my local PC as a ZIP file (many or single)? I have OneDrive with a total of 3.4 TB and various directories, the largest of which is the camera Roll directory, with each subdirectory comprising 300-400 GB and…
How to get list of all programs on system PATH that countain some characters in powershell/batch
So, i want to make a builder file for my C code, i use Clang compiler and wanted to link the Windows SDK's headers and make it multiplatform, so even VS 2015 is supported. I thought the easiest and best way will be to just find the programs that…
How can I resolved error an Object reference not set to an instance of an object.
I am getting am Object reference not set to an instance of an object when I try to Run a Azure PowerShell Function to connect to Azure SQL Managed Instance. Anyone have any suggestions?
Error attempting to CREATE USER FROM EXTERNAL PROVIDER using a User Assigned Managed Identity
I have an Azure Automation runbook (PowerShell 5.1) that attempts to run "CREATE USER <UserName> FROM EXTERNAL PROVIDER". This is part of a larger program, but this is the offending command so I created a test runbook to try and resolve…
Sorry, but we’re having trouble signing you in. AADSTS700016: Application with identifier 'd1ddf0e4-d672-4dae-b554-9d5bdfd93547' was not found in the directory
Whenever I start a new session for connect-MSGraph, it defaults to using the old AppID, even if I’ve updated the AppID in the previous session. Please suggest a way to update the AppID permanently. I am expecting that “connect-MSGraph” session should…
Sum of Calculated Columns using Power Automate
Hi! I am a newbie to Power Automate. I am looking for some help with my project re leave management system. I want to create a flow to get the sum of my SharePoint list calculated columns and auto populate them to another SP list column. I have 3…
How to create SharePoint Document Library and create columns using PowerShell
Hi there, I am new to using PowerShell to create SharePoint. May I know where can I find the relevant script to create a document library and create column accordingly? Appreciated. Note: I searched some script but unsure if the building block makes…
Risk and consequence when executing Kerberos password reset in a Hybrid Azure AD - OnPremise AD DS?
What are the risks and consequences of resetting the Kerberos krbtgt account during business hours using the steps defined…
Sign-out from M365 application using script
Hi Team, There are windows 11 machines in our environment in which we have M365 applications installed, and we are willing to sign-out current logged-in user account from all M365 applications present in user device using PowerShell script. Like most…
Does Dsregcmd \leave uneroll Win 11 device from intune??
Hi experts We have a Windows 11 device which is Hybrid joined as well as Co-Managed. We want to remove the device from the Intune. We are running the DSREGCMD /Leave command to unjoin the from hybrid. after this the device object is deleted from the…
unable to run the DSREGCMD from PowerShell while deploying from SCCM
hey experts we are trying to run dsregcmd command from PowerShell but we are getting an error that dsregcmd is not recognized as an external or internal command. We are deploying the script using SCCM with the user rights. we have updated the code…
Use PowerShell to enable 'Send copies of group conversations and events to group members' on a dynamic O365 group
I have done quite a bit of researching and asking 'Co-Pilot' without any luck. Essentially, I want to do what the title says, which is: Enable 'Send copies of group conversations and events to group members' for the specified group using PowerShell. The…
Task Scheduler is unable to fetch credentials from Windows Credential Manager. It’s returning null for the username and password
We have one Task Scheduler job using Credential Manager to store service account credentials(Generic). After a password change, we started facing this issue. We have a PowerShell script configured as a Task Scheduler job that uses Credential Manager to…
How to find the creation date of a custom Sensitive Information Type
Hi, I have 20+ custom sensitive information types that have been created in my tenant. I am trying to find out the date these were created and if possible, the user who created them. I have looked everywhere...in the Compliance Portal and in the…
how to retrieve the path to workspace_publish branch OR any branch in devops , use that path in azure powershell script to read file from that branch.
I want to retrieve path to the branch and folder inside it, basically i wan to read the jsons here and change the dev keyword with uat and save the file back to the sam folder in workspace_publish branch. I can change dev to uat, but am not able to…
Get-QuarantineMessage only returns results for 1 day
When running any of the cmdlets below in Exchange Online, I receive results for no more than a few days. This is the primary cmdlet which only returns results for 1 day in spite of the request for the last 30 days. I don't believe it has anything to do…
Azure Cloud shell doesn't input characters
Hi! So in the mobile app the Cloud Shell doesn't input any characters when I type, even when I paste. Also there is a spinning thing and then my typing cursor, nothing else. Isn't it supposed to display a welcome message? Like is it fully loaded like…
How to create a webapp slot without copying settings using PowerShell?
I want to create a Slot for an Azure WebApp using PowerShell, without copying any settings from the main production slot. The command I'm using is: New-AzWebAppSlot -ResourceGroupName $ResourceGroup -Name $ApplicationName -Slot $SlotName -ErrorAction…