can't create app service with publish model "container" over Powershell
Hey guys, the last couple days I tried to write a powershell script which creates a azure app service and some deployment slots for it. First - it seems to work fine but later I realized that the publish model is "always" on "Code"…
High CPU usage for vmmem
Hi, I have experienced high CPU usage for Vmmem frequently (~every 2days) and the only solution at the moment is simply restart my machine. It is understood that is related to WSL and I do have a Docker image running on Ubuntu on Windows. However it is…
For all folders in both local drive and OneDrive 365 Home, how to list all files containing certain words and output their full pathnames into either Excel or text file?
For both local drive and OneDrive 365 Home, I need help to find all pdf files with names containing "ABC" and file content containing certain text The search results as follows: Full pathname of each file list format is either Excel rows…
Connecting Security & Compliance PowerShell
I get this error msg, when trying to connect Security & Compliance PowerShell Could not find a part of the path 'C:\Users\username\AppData\Local\Temp\tmpEXO_5ewf3wn0.oir\exchange.format.ps1xml'. At…
AADSTS700016: Application with identifier <Id> was not found in the directory <Company>.
Good morning. I hope you are well. When trying to connect with: Connect-PnPOnline -Url "https://name-admin.sharepoint.com" -Interactive Or with: Connect-PnPOnline -Url "https://name-admin.sharepoint.com" It is throwing the…
Is it possible to get a PowerShell script that represents an operation in Azure Portal?
Hello, When I use Azure Portal and trigger some operation, like Deployment of Azure AI multiservice account, I would like to get a PowerShell script that represents that operation. Is that possible? In the "Overview" of the deployment operation…
New Azure VM RDP login displays powershell cant close to get to desktop
Created a new Azure VM for first time. Can RDP and login to the public IP. Set SConfig to not run, Powershell console stays open cant exit and get to desktop
Where can I find the complete list of all official GUID for all first-party Microsoft service principal?
Is there any way to create or generate a complete list of all official GUIDs for Microsoft Applications or services? So far I can only find it here:…
Need script for Citrix workspace uninstallation
I want to uninstall Citrix Workspace on some machines that have different versions. Please suggest a script that can help me achieve this goa
Add-PnPFile : Cannot contact site at the specified URL https://<<Customer Tenant>>.sharepoint.com/sites/Training. The app principal does not exist.
Hello Team, Getting error while executing Add-PnPFile command. Add-PnPFile : Cannot contact site at the specified URL https://<<Customer Tenant>>.sharepoint.com/sites/Training. The app principal does not exist. By going through some…
unable to connect Azure
Hi All I use the below syntax to connect to Azure Powershell, but today i am unable to connect to azure powershell. it prompts me to enter tenant and subscription number. I have 1500 subscriptions, how can i know the subscription number for my…
How to Exclude a User from Auditpol - Discovered a possible bug with auditpol.exe
Hello all, I am trying to exclude a user from being audited on a Server 2019 Domain Controller. Using the following: Auditpol /set /user:adm.svc.acc /subcategory:"Logon" /Success:disable Reason for doing so, it's a service account that is…
White screen while trying to use Azure cloud shell
Azure powershell is a white screen that i cant do anything with. I Disabled extentions for safari, deleted cache data, and reloaded the page, Safari is the newest version. I need to be able to use Azure Powershell, what could be the problem?
Assign Calendar Privileges with Powershell
Im trying to assign Calendar Permissions to Owner and Member, Owner should have read&write while members only read. This is the code i came up with. the error i got was the following: Specified method is not supported. Status: 400…
How to export managed metadata from subfolders and documents to csv
I have a document library and at the top level we have a number of folders for each year i.e. 2024, 2023, 2022, 2021 etc. Against these yearly folders we have a Content Type of "Yearly Folder". Under each yearly folder we have a huge list of…
Storage Spaces - disk failure
Hello everyone! One of my disks in Storage Spaces suddenly failed, and it was simply impossible to keep it physically connected and boot the OS at the same time. So, I bought a new disk, swapped with the old one, and added it to the Pool in Storage…
Inviting guest user with New-MgInvitation does not make user id immediately available
Hello I am writing a Powershell script for doing invitation of guest accounts on Entra ID and, after the user has been created, updating some properties and adding user to a group. This is a piece of the code: # send the invitation …
Delete Calendarseries in iOS Calendar
Hi, i had a recurring Calendar item. It is called "kompas | Standup". It was hard to delete that Calendaritem, because it was "hidden" in a Microsoft Teams-Team called "kompas Team". I made some tests to delete that calendar…
I cannot map a drive with the ip address
The drive I'm trying to map only has an IP. It is my phone. But the same rule applies to my Buffalo NAZ. I cannot map a drive in my Naz by IP. Luckily, I know my name of my NAZ server. So I am certain if I fix the issue of not being able to map by IP, I…
Error: unauthorized_client: 700016: AADSTS700016: Application with identifier was not found in the directory.
I have a pipeline in Azure DevOps that deployes .sppkg files to a test tenant. The login part of the pipeline used to work, but suddenly after another PR I am getting this error: Error: unauthorized_client: 700016 - [2024-09-27 12:03:43Z]: AADSTS700016:…