2,185 questions with PowerShell-related tags

Sort by: Updated
1 answer

Unable to start/stop workflow instances associated with a List Item

Hi All, I'm trying to stop workflow instances attached to a specific List Item In a SharePoint List. But I notice the workflow subscription command always returns null, due to which Stop-PnPWorkflowInstance fails. #Install-Module -Name…

SharePoint Workflow
SharePoint Workflow
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Workflow: An orchestrated and repeatable pattern of business activity, enabling data transformation, service provision, and information retrieval.
526 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,185 questions
Microsoft Power Platform Training
Microsoft Power Platform Training
Microsoft Power Platform: An integrated set of Microsoft business intelligence services.Training: Instruction to develop new skills.
133 questions
asked 2024-05-30T01:15:27.9533333+00:00
Nirenjana Raghupathy 21 Reputation points
answered 2024-05-30T09:52:19.9833333+00:00
Emily Du-MSFT 42,821 Reputation points Microsoft Vendor
2 answers

Can I put the value of instanceDurationInDays in minutes for the QA while creating access reviews using powershell?

I am able to create an azure access reviews with Graph API 1.0 using PowerShell. Now, there is a property called instanceDurationInDays which should have an integer value. The access review will remain active for the number of days of the value of…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,911 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,418 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,185 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,947 questions
asked 2024-05-27T13:42:49.5833333+00:00
Sumit Bhargav 0 Reputation points
commented 2024-05-30T08:21:19.0133333+00:00
Shweta Mathur 28,201 Reputation points Microsoft Employee
1 answer

How can I assign User Role Policy (Role Assignment Policy) to a Mail-enabled security group using PowerShell?

I am trying to remove Forward option from OWA for our corporate users. I can create a new role and role policy can assign it to one single user or multiple users one by one, but I do not want manual process. We have hundreds of users, so I want to assign…

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,269 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,185 questions
asked 2024-05-29T22:51:52.9066667+00:00
Abhi Patel 0 Reputation points
answered 2024-05-30T06:01:32.8533333+00:00
Bruce Jing-MSFT 1,305 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Effect of MC792991 Disablement of Symmetric keys for Microsoft Entra first-party applications Service Principals

Hello Team, Greetings! This is Joni.   Due to the Microsoft post as follows,  a partner need to address how this affects to end users' resources and workloads.  Disablement of Symmetric keys for Microsoft Entra first-party applications Service Principals…

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,150 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,911 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,185 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,947 questions
asked 2024-05-20T14:08:33.86+00:00
yulei0917 50 Reputation points
edited a comment 2024-05-30T05:16:55.2533333+00:00
yulei0917 50 Reputation points
1 answer

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…

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,185 questions
asked 2024-05-22T09:11:41.3766667+00:00
Ssplanets 0 Reputation points
commented 2024-05-30T02:35:44.7566667+00:00
Jing Zhou 3,115 Reputation points Microsoft Vendor
1 answer

How to generate a report on a conditional access policy with Report Only mode ?

Hello Team, I'm looking for a free way even with a PowerShell script to get a report on a conditional access policy with Report Only mode. Thanks, Alaa Elrayes

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,418 questions
Microsoft Intune Reporting
Microsoft Intune Reporting
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Reporting: The process of giving an account of something that has been observed, heard, done, or investigated.
62 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,509 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,185 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,947 questions
asked 2024-05-28T08:18:26.5433333+00:00
A.Elrayes 186 Reputation points
commented 2024-05-30T02:03:02.2166667+00:00
Crystal-MSFT 44,506 Reputation points Microsoft Vendor
1 answer

How do we fix 0x8a15000f : Data required by the source is missing?

I Am trying to run winget on a widows 11 pc and keep getting the error 0x8a15000f : Data required by the source is missing. Have done update reset and still get the issue with the same error.

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,185 questions
asked 2024-05-29T13:34:46.4066667+00:00
Campbell, Joseph 0 Reputation points
answered 2024-05-29T16:19:51.7666667+00:00
Wesley Li 5,555 Reputation points
3 answers

EventID for the GPO

I have enabled the GPO (Turn on PowerShell Transcription): Computer Configuration-Administrative Templates-Windows Components-Windows PowerShell. Turn on PowerShell Transcription: Enabled. Should I see any other Event ID besides 4103 in Event Viewer with…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,520 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,408 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,340 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,418 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,185 questions
asked 2024-05-28T15:51:47.9+00:00
Glenn Maxwell 10,351 Reputation points
answered 2024-05-29T16:17:52.2433333+00:00
Glenn Maxwell 10,351 Reputation points
1 answer

Connect-MgGraph : Invalid JWT access token. Connect-AzAccount : InteractiveBrowserCredential authentication failed

I need help and a solution to rectify the below error when executing the PowerShell Connect-* command. $TenantID = '22bb9241-65c8-45b4-94f9-7c151e154693' $AzSubscriptionID = 'd487514e-4317-447f-af79-5022d310f6bd' $paramConnectMgGraph = @{ Scopes =…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,911 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,418 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,185 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,947 questions
asked 2024-05-28T07:17:43.8466667+00:00
EnterpriseArchitect 4,896 Reputation points
commented 2024-05-29T15:45:38.6533333+00:00
Givary-MSFT 28,756 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

How to read contents of a CSV in Azure Blob storage using powershell

Hi, Is there any way to read the contents of a file in Azure blob using Powershell? I tried Get-AzStorageBlobContent but this stores the file in a local folder. I don't want to store the file locally. My requirment is to read the file from blob and…

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,418 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,185 questions
asked 2023-01-27T07:36:01.7+00:00
Biju Mathew 476 Reputation points
commented 2024-05-29T12:18:02.19+00:00
Lucas, Stephen 0 Reputation points
0 answers

Partner Admin Link - problem with removing it

Hi, Do you know how to remove such an association (with PAL)? We face some problems now both in Acure CLI and Powershell to find it on subscription but on the other hand we see it in Partner Center and it impacts some of ours ACR metrics. Maybe you…

Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
318 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,185 questions
asked 2024-05-27T08:09:05.74+00:00
Rafał 0 Reputation points
commented 2024-05-29T05:41:33.54+00:00
أسماء حنفي 0 Reputation points
1 answer

PowerShell compares a file on a file server with a file uploaded to a SharePoint Online document library.

Good afternoon. I hope you are well. I have a question about how I can compare a file on a file server with a file uploaded to a SharePoint Online document library. In order to check if the file is the same or has changed to check if it needs to be…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,913 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,418 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,185 questions
asked 2024-05-24T20:03:58.29+00:00
Jairo Javier Baleta Cali 131 Reputation points
commented 2024-05-29T02:40:04.6633333+00:00
Rich Matheisen 45,186 Reputation points
1 answer

Microsoft 365 Defender - How to get more meaningful email alerting?

How can I get more meaningful email alerts using the Microsoft 365 Defender? Because every time I get the email alert, the email is not as informative like the below: Microsoft 365 Defender has detected a security threat in your environment View incident…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,911 questions
Microsoft Defender for Cloud
Microsoft Defender for Cloud
An Azure service that provides threat protection for workloads running in Azure, on-premises, and in other clouds. Previously known as Azure Security Center and Azure Defender.
1,228 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,185 questions
Microsoft Defender for Identity
Microsoft Defender for Identity
A Microsoft service that helps protect enterprise hybrid environments from multiple types of advanced, targeted cyberattacks and insider threats.
163 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,947 questions
asked 2024-05-27T13:00:44.4566667+00:00
EnterpriseArchitect 4,896 Reputation points
answered 2024-05-28T15:31:10.0266667+00:00
Rich Matheisen 45,186 Reputation points
2 answers One of the answers was accepted by the question author.

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…

Microsoft Exchange Online
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,269 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,185 questions
asked 2024-05-22T20:24:10.2233333+00:00
Demari S 20 Reputation points
accepted 2024-05-28T11:43:24.3+00:00
Demari S 20 Reputation points
1 answer

Need to confirm if this command <Add-AzServiceFabricClusterCertificate> is completely unavailable

We have been using this command to update our cluster certificate before, and we noticed a prompt that this command has been deprecated, but it has been working normally. I have found that this command cannot return correctly in the past few days of use.…

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
253 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,185 questions
asked 2024-05-27T03:05:52.7733333+00:00
Sun Tongxin3 0 Reputation points
answered 2024-05-28T07:58:49.4166667+00:00
vipullag-MSFT 25,126 Reputation points
0 answers

Windows Defender Advanced Threat Protection - DataCollection PS1

Dear Community, I have a question regarding Windows Defender Advanced Threat Protection*DataCollection*\folderName*.ps1. My EDR raised multiple alerts from a PowerShell script that came from the above directory but was launched by a default browser like…

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,185 questions
Microsoft Defender for Cloud Apps
Microsoft Defender for Cloud Apps
A Microsoft cloud access security broker that enables customers to control the access and use of software as a service apps in their organization.
113 questions
asked 2024-05-28T07:36:47.4166667+00:00
TristanBOZZETTI-0587 10 Reputation points
1 answer

Azure Devops x Azure Virtual Desktop

I want to take advantage of my devops license, I would like to know how I can take advantage of it if I have an Azure virtual desktop environment and be able to automate, I understand the images and deployment part, but I would like to know other cases…

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,669 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,185 questions
asked 2024-05-27T23:32:55.87+00:00
Juan Pablo Delgadillo Martinez 61 Reputation points
edited the question 2024-05-28T03:12:05.1466667+00:00
vipullag-MSFT 25,126 Reputation points
1 answer One of the answers was accepted by the question author.

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…

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
879 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,913 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,734 questions
OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,154 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,185 questions
asked 2024-05-24T14:59:25.73+00:00
EnterpriseArchitect 4,896 Reputation points
commented 2024-05-28T02:52:01.2066667+00:00
EnterpriseArchitect 4,896 Reputation points
1 answer

How to enable schedule patching on azure vm using powershell

I am using below command as per documentation https://learn.microsoft.com/en-us/azure/update-manager/prerequsite-for-schedule-patching?tabs=new-prereq-powershell%2Cauto-portal&WT.mc_id=Portal-Microsoft_Azure_Automation#code-try-4 But it is asking to…

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,185 questions
Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
258 questions
asked 2024-05-10T11:18:38+00:00
Azuretech 90 Reputation points
commented 2024-05-27T14:04:49.0333333+00:00
Gowtham CP 2,215 Reputation points
1 answer

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…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,147 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,185 questions
asked 2024-05-13T15:25:11.9066667+00:00
Mike Welborn 51 Reputation points
commented 2024-05-27T13:57:22.6833333+00:00
AnuragSingh-MSFT 20,906 Reputation points