8,330 questions with Windows for business | Windows Server | User experience | PowerShell tags

Sort by: Updated
1 answer

Assign all tasks in a planner bucket to myself

Hi there I want to create a Power Automate flow that assigns all tasks within a specified planner bucket to myself.

Windows for business Windows Server User experience PowerShell
asked 2025-06-27T06:46:29.08+00:00
Kim Dell 0 Reputation points
commented 2025-06-27T21:18:21.3966667+00:00
Jeff McCashland 481 Reputation points Microsoft Employee Moderator
3 answers

The Function app may be missing a module containing the 'Connect-MgGraph' command definition

I am trying to run a Microsoft Graph PowerShell script through azure PowerShell function. But I am getting following error The Function app may be missing a module containing the 'Connect-MgGraph' command definition. If this command belongs to a module…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
Windows for business Windows Server User experience PowerShell
Microsoft Security Microsoft Graph
asked 2023-02-05T16:04:29.8766667+00:00
Liju P Nandanan 21 Reputation points
answered 2025-06-27T12:28:45.4333333+00:00
Chendrayan Venkatesan 11 Reputation points
2 answers

WDAC policy and Powershell constrained language mode

Hello, if I understood these articles (1 , 2, 3) correctly, when WDAC is enabled, the Powershell session starts in constrained language mode. Please tell me how to allow users to run powershell in Full Language mode without disabling option 11…

Windows for business Windows Server User experience PowerShell
Microsoft Security Microsoft Defender Microsoft Defender for Identity
asked 2024-01-10T19:12:40.5933333+00:00
Yevhen UK 0 Reputation points
answered 2025-06-26T20:39:33.5133333+00:00
Andrew Huffman 0 Reputation points
0 answers

Unable to use eDiscovery over Azure Application

Hello everyone, I am creating a script to export Search jobs (done already), since microsoft have decomitioned this, but being blocked because lack of permissions, even doing over an Azure App with application permissions for…

Windows for business Windows Server User experience PowerShell
asked 2025-06-25T14:19:23.2966667+00:00
marafado88 21 Reputation points
1 answer One of the answers was accepted by the question author.

Is there a limitation on the Powershell command Get-RetentionCompliancePolicy?

I tried managing retention policies via Powershell for automation but when I came across the command Get-RetentionCompliancePolicy but it does not say what location are either enabled and disabled whenever I tried disabling/enabling the locations. For…

Windows for business Windows Server User experience PowerShell
asked 2025-06-17T02:06:54.5833333+00:00
Alexander Andro Jae Diaz 40 Reputation points
accepted 2025-06-25T10:48:43.25+00:00
Alexander Andro Jae Diaz 40 Reputation points
1 answer

Update-AzureADSSOForest Error

When running the command Update-AzureADSSOForest, I encounter an aggregate exception error. Running in PowerShell on the Azure AD Connect computer, after following this documentation.…

Windows for business Windows Server User experience PowerShell
asked 2025-06-24T20:21:30.8166667+00:00
Amanda 0 Reputation points
answered 2025-06-25T08:29:51.7+00:00
Smith Pham 1,540 Reputation points Independent Advisor
2 answers

Powershell script for 7-zip

Hello I'm very much new to the scripting world. I don't know basics of scripting. I have an assignment on my course, where i have been provided with a script to install 7-zip on my test computer using intune. The following is the script given …

Windows for business Windows Server User experience PowerShell
asked 2022-08-06T19:32:04.81+00:00
Karthik 1 Reputation point
commented 2025-06-24T20:13:21.36+00:00
Rich Matheisen 47,901 Reputation points
0 answers

How to automate creation of On-premise AD groups using powershell from Domain controller machine

How to automate creation of On-premise AD groups using powershell from Domain controller machine

Windows for business Windows Server User experience PowerShell
asked 2025-06-24T17:28:57.9966667+00:00
nikita tiwari 25 Reputation points
commented 2025-06-24T19:03:53.05+00:00
Rich Matheisen 47,901 Reputation points
1 answer

Azure time trigger PowerShell function manual vs schedule

I have this Time Trigger Function that runs PowerShell code to fetch Azure storage accounts used capacity metrics based on the tags. The code works fine when I trigger the job manually and gives me the accurate details but fetches 0 value from all the…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
Windows for business Windows Server User experience PowerShell
asked 2024-09-19T09:40:48.64+00:00
Sudhirkumar Karamchand 0 Reputation points
answered 2025-06-24T09:56:55.14+00:00
Amira Bedhiafi 33,071 Reputation points Volunteer Moderator
1 answer One of the answers was accepted by the question author.

SharePoint Online - Error: This item cannot be updated because it is locked as read-only.

In SharePoint online site, the pdf files in document library are not able to deleted/check in/discard checkout. The checked out to user is System Account Error: This item cannot be updated because it is locked as read-only.

Microsoft 365 and Office SharePoint For business Windows
Windows for business Windows Server User experience PowerShell
asked 2023-08-02T13:02:34.65+00:00
Sandhya Reyya 25 Reputation points
commented 2025-06-23T10:37:44.9033333+00:00
Nnadi, Kingsley 0 Reputation points
0 answers

I need to retrieve the values in the cfCardNumber attribute with PowerShell

I have users in a specific OU in Active Directory and need to retrieve the values in the cfCardNumber attribute which is in the Attribute Editor. I have tried for an individual; Get-ADuser -Identity "joe.bloggs" -Properties * | Select-Object…

Windows for business Windows Server User experience PowerShell
asked 2025-06-05T03:46:11.62+00:00
John Denney 0 Reputation points
commented 2025-06-20T15:17:49.76+00:00
Rich Matheisen 47,901 Reputation points
3 answers

Error when Retrieving PowerBI Audit Data via Search-UnifiedAuditLog in Powershell

Hi, I have a PowerShell script which has been running fine for over 12 months and have received the below error messages: Error Message: WARNING: Failed to process request via SyncSearch flag, returning HttpRequestException. Except ion: NotFound ,…

Windows for business Windows Server User experience PowerShell
asked 2025-06-18T08:54:26.8833333+00:00
Darren Dougill 20 Reputation points
answered 2025-06-20T12:22:20.44+00:00
Chaim Black 5 Reputation points
0 answers

How to access Office365/Azure using powershell without an Azure subscription

Hi, We currently have office365 licenses and sometimes a new of ours gets a log in failure loop, eg. User sign-ins (non-interactive) Sign In error code : 50173. The solution is to run "Revoke-AzureADUserAllRefreshToken -ObjectId xxxx-xxx-xxx-xx…

Windows for business Windows Server User experience PowerShell
asked 2025-06-19T05:48:42.25+00:00
Tom Vernier 0 Reputation points
2 answers One of the answers was accepted by the question author.

How can I prevent getting prompted multiple times when executing Microsoft Graph Powershell script ?

How do I avoid being prompted multiple times when running the Microsoft Graph Powershell script? Connect-MgGraph -Scopes Reports.Read.All, User.Read.All, UserAuthenticationMethod.Read.All Select-MgProfile…

Windows for business Windows Server User experience PowerShell
Microsoft Security Microsoft Graph
asked 2023-04-18T15:21:45.7966667+00:00
EnterpriseArchitect 6,041 Reputation points
commented 2025-06-18T18:48:56.2533333+00:00
Magno Santos 5 Reputation points
1 answer

Connect-MsolService : Access Denied.

Connect-MsolService : Access Denied. You do not have permissions to call this cmdlet.

Windows for business Windows Server User experience PowerShell
asked 2025-05-14T10:24:07.7466667+00:00
eng mohamed mansour 5 Reputation points
commented 2025-06-18T14:55:01.5666667+00:00
Alejandro Rocha 0 Reputation points
1 answer

How can I send an embedded video via Powershell and Send-MGUserMail

Idk I can't delete this have this copy pasta …

Windows for business Windows Server User experience PowerShell
asked 2025-06-15T04:35:23.99+00:00
Ryctas 20 Reputation points
answered 2025-06-18T14:54:25.2633333+00:00
Finn Dang 455 Reputation points Independent Advisor
1 answer

Support for Inline Child Scripts in PowerShell 7.2 Runbooks

What is the current status of support for inline scripts in Powershell 7.2 runbooks? The current documentation lists inline scripts as "not supported", but it is unclear whether this will change or when it might change. We have several scripts…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,366 questions
Windows for business Windows Server User experience PowerShell
asked 2024-04-16T07:32:25.3133333+00:00
Guilherme Noronha 20 Reputation points
commented 2025-06-17T08:30:15.08+00:00
Guilherme Noronha 20 Reputation points
1 answer

Find Amortized Cost for Azure resources via PowerShell

Hello: I am trying to collect cost for Azure resources via Powershell. I have a script, but recently realized I am collecting actual, but not amortized cost. That means if any of my resources covered by Reserve Instance and/or Savings Plan I do not…

Windows for business Windows Server User experience PowerShell
asked 2025-06-13T12:57:44.5533333+00:00
olegarr 131 Reputation points
edited a comment 2025-06-16T18:36:26.81+00:00
olegarr 131 Reputation points
3 answers

About changing device name script

I want to know if there is any script that change device name of Intune portal in a bulk

Windows for business Windows Server User experience PowerShell
Microsoft Security Intune Other
asked 2024-10-25T00:19:13.4766667+00:00
San TCI 0 Reputation points
commented 2025-06-16T09:07:31.94+00:00
Per-7913 0 Reputation points
2 answers

Nested Virtualization - Install Android Studio on Azure VM

Hi, I can't do Android Studio works on Azure VM I setup several Azure VM but I allways get the same results Please, could somebdoy help me with this installation. Which image of Azure VM I have to choice? Which OS do I have to choice? Thank you in…

Windows for business Windows Client for IT Pros Networking Network connectivity and file sharing
Windows for business Windows Server User experience PowerShell
Microsoft Security Intune Microsoft Intune Android
Windows for business Windows Server User experience Other
asked 2023-04-30T02:25:08.3466667+00:00
Eduardo Nuñez 0 Reputation points
edited a comment 2025-06-15T17:34:03.7566667+00:00
Meera Meera 0 Reputation points