8,330 questions with Windows for business | Windows Server | User experience | PowerShell tags
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

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
Windows for business Windows Server User experience PowerShell
Microsoft Security Microsoft Graph

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
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
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
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
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
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
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
Windows for business Windows Server User experience PowerShell

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
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
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
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
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

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
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
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
Windows for business Windows Server User experience PowerShell
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
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
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…