A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
8,384 questions with Windows for business | Windows Server | User experience | PowerShell tags
Unable to connect to Exchange Online Powershell
Hello, I am unable to login to Exchange Online Powershell using the following steps. I am a global admin and the Powershell is opened in elevated mode. I enter the code below Connect-ExchangeOnline -UserPrincipalName <mylogin> Then the login opens…
Exchange Online
Windows for business | Windows Server | User experience | PowerShell
Powershell New-ADUser failing from remote execution
Good morning all! We are using Freshservice to try to automate some of our employee onboarding and are getting some access is denied errors when running. The App is essentially sending the powershell command on behalf of the account we have…
Windows for business | Windows Server | User experience | PowerShell
Use add-appxprovisionedpackage to deploy Microsoft.AAD.BrokerPlugin
How can you use add-appxprovisionedpackage with microsoft.AAD.BrokerPlugin? We have a Citrix Terminal server environment and we are running into the issues where users cannot sign into Office applications because microsoft.AAD.BrokerPlugin is not…
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Windows for business | Windows Server | User experience | PowerShell
Can't remove "missing" drive from storage space
I had recently added a new ssd to replace my old boot drive in my desktop. Added it to my storage pool thinking it would allow me to then clone my old boot drive to it, realized that all the drives spread data across all of them, wasn't able to remove…
Windows for business | Windows Server | User experience | PowerShell
May an app embedding Microsoft.PowerShell.SDK redistribute Microsoft.Management.Infrastructure.Runtime.Win 3.0.0, whose licence forbids distribution while its project and siblings are MIT?
We build a commercial Windows application that hosts PowerShell in-process via Microsoft.PowerShell.SDK (7.5.4, MIT). Publishing self-contained brings Microsoft.Management.Infrastructure.Runtime.Win (3.0.0) into the output, so four of its DLLs end up in…
Windows for business | Windows Server | User experience | PowerShell
how to setup a powershell code
How do I setup a PowerShell script like code that can instantly give me a full list of all the information of by default it should be 24 hours or if i specific more of for example how many times computer was powered on off users logged in all those stuff…
Windows for business | Windows Server | User experience | PowerShell
Microsoft Search insights and configuration - Download Report using API or Power Automate
SharePoint site collection administrators will be able to get insights regarding the total number of search queries performed, number of results by type over time, top searched queries etc. from Site Settings. Site Settings->Search Insights and…
Microsoft 365 and Office | SharePoint | For business | Windows
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Graph
An API that connects multiple Microsoft services, enabling data access and automation across platforms
Protect Powershell script to be not editable, but executable
Hi, can you anybody show me how can I protect a script, so that the script cannot be changed (modified), but it's can be run for example every night at 00:00 as scheduled task? Thank you.
Windows for business | Windows Server | User experience | PowerShell
Data Deduplication Space Not Reclaimed After Large-Scale Backup Deletions
Hi all, A backup server is reporting critically low disk space on volumes with Data Deduplication enabled. We recently removed several TB of old backup files, but the available capacity has not increased as expected. The Deduplication chunk store still…
Windows for business | Windows Server | User experience | PowerShell
Connect-OrganizationAddInService using Entra ServicePrincipal ID
I am trying to find if someone has successfully done this, basically automatize the deployment of an Add-in to Office 365 Client Secret: "1111111111111111111" (This is a secret that should be protected and not shown, I am having a look how to…
Exchange Online
A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
Exchange | Exchange Server | Development
The process of building custom applications and tools that interact with Microsoft Exchange Server
Windows for business | Windows Server | User experience | PowerShell
Install WSL manually with 0x80073CF3 error
I am trying to install WSL (Debian) with this manual: https://learn.microsoft.com/en-us/windows/wsl/install-on-server, with my MS store disabled. However, I get error 0x80073CF3 =================== PS C:\USERS\Yerong\Downloads\Ubuntu>…
Windows for business | Windows Server | User experience | PowerShell
Install-ADServiceAccount fail with unspecified error creating gMSA
Hello, I tried the script inside how-to-prerequisites to create a gMSA to test Azure AD Connect cloud sync; the script is this: $Name = 'aadsyncgMSA' $Description = "Azure AD Cloud Sync service account for LAB-DC1 server" #$Server =…
Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Entra | Microsoft Entra ID
A cloud-based identity and access management service for securing user authentication and resource access
How do sign a self-signed certificate so it isn't reliable on me
I'm about average as a PowerShell person. But all the PowerShell I've authored as for me, specifically. I have no experience at authoring or uses PowerShell scripts to run on a Windows server, to handle tasks. Until now. Here's my scenario. I am on a…
Windows for business | Windows Server | User experience | PowerShell
PowerShell Remoting Double-Hop Authentication Failure
Executing a remote PowerShell script on Server A that attempts to access a file share on Server B fails with Access Denied. How do we configure Credential Security Support Provider (CredSSP) or Kerberos Constrained Delegation to enable multi-hop…
Windows for business | Windows Server | User experience | PowerShell
This script is currect or not
$Folders = @( 2 "C:\ProgramData\Tally", 3 "C:\Program Files\Tally.ERP9", 4 "C:\Program Files (x86)\Tally.ERP9" 5 ) 6 7 foreach ($Folder in $Folders) { 8 if (Test-Path $Folder) { 9 Write-Output "Granting access to…
Windows for business | Windows Server | User experience | PowerShell
DNS RRL is dropping legitimate internal queries. How are you handling exceptions?
Hey all, We enabled Response Rate Limiting (RRL) on our authoritative DNS servers to protect against amplification attacks, but now we're seeing legitimate queries from some internal subnets being dropped as well. What's the best way to whitelist trusted…
Windows for business | Windows Server | User experience | PowerShell
PowerShell - Formatting output of Invoke-Command -ScriptBlock
Hi. I'm having difficulty formatting output of Invoke-Command -ScriptBlock. My goal is to loop through a list of servers in a .CSV and run Invoke-Command on each to get selected key value pairs from the registry. The values I'm looking for is the…
Windows for business | Windows Server | User experience | PowerShell
DSC Local Configuration Manager Stuck in Busy State
Hi, We pushed a DSC configuration to a batch of Windows Servers, but the deployment was interrupted on several nodes. Since then, any attempt to apply a new configuration fails because the Local Configuration Manager (LCM) reports that it is still…
Windows for business | Windows Server | User experience | PowerShell
Deploy custom background to Microsoft Teams via Intune PowerShell scripts
Hi, I have been asked by my company to find a way to deploy corporate Backgrounds to Microsoft Teams. I found many sites that pushed me towards using Win32 Apps within Intune and the step-by-step guides where easy to follow. However, ever guide/forum I…
Windows for business | Windows Server | User experience | PowerShell
Error running Set-AIPFileLabel from Azure PowerShell function - Engine is not initialized, bootstrap might have failed
Trying to remove AIP sensitivity labels from PDF documents using PowerShell Azure Function (triggered by power automate flow passing the file content from SharePoint). Based on this documentation:…
Azure Information Protection
An Azure service that is used to control and help secure email, documents, and sensitive data that are shared outside the company.
Azure Functions
An Azure service that provides an event-driven serverless compute platform.