Install-Module -Name d365fo.tools -force -verbose doesnt work in virtual machine
Hello, The command line Install-Module -Name d365fo.tools -force -verbose doent work in powershell in our virtual machine (Azure devbox). We have this error message : PackageManagement\Install-Package : Package 'PSFramework' failed to download. At…
How to fix NPS extension installation script issue
Hi everyone, I am having issue to run '.\AzureMfaNpsExtnConfigSetup.ps1' for NPS Extension installation on my server, here is the error: I replaced the code '$binCert = $certx509[0].GetRawCertData() $credValue =…
Can we remove the shared permission from one drive for a deleted user in one drive
# Define Azure AD App Credentials $tenantId = " $clientId = " $clientSecret = " $scope = "https://graph.microsoft.com/.default" # CSV file paths $ownersCsv = "D:\Owners.csv" $usersCsv =…
IP assignment
Hello, We have one virtual machine in azure, which has an interface with a lot of IP Addresses (25 IPs+ as secondary, see please screenshot). Also I have one identical virtual machine (state is down). And in case of failure of first machine I need to…
can't find calendar data for certain resource accounts
I'm attempting to get info on some of our resource calendars. Since this doesn't function well within the EXO Powershell, I was pointed towards the MSGraph module. So I use these commands: $StartDate = "2024-01-01T19:00:00-08:00" >>…


Exception calling "UploadFile" with "2" argument(s)
Hi, I have this code, it used to work, but now it's giving an error: #we specify the directory where all files that we want to upload $Dir="C:\path\Generate XML Files" $DirArch="C:\path\Archive" #ftp server $ftp =…

AZURE LogicApps: How to get the connection as runbook and use it for other runbooks
Hello I have created multiple Runbooks and I don't want to create always the same connection string include variables in each Runbook. So I have tried to use Start-AzAutomationRunbook but it makes no sense as I need to use always a connection…
Azure Agent SSL Issue: "an existing connection was forcibly closed by the remote host"
Windows server was updated from 10 to 11. TLS certificates were updated. I've verified that its using 1.2. SSL works as well. Azure DevOps is accessible via the server. Installing a new agent result in the same issue attempting to restart/remove the…
how can i direct an intune powershell output to a sharepoint file
using a powershell script, i want to collect data from my devices, (e.g. setpoints, local admins, among other data not readily available/usable in entra) and store the data in a file i can review. i'm assuming a sharepoint site/file with permissions for…
Sorry, but we’re having trouble signing you in. AADSTS700016: Application with identifier 'd1ddf0e4-d672-4dae-b554-9d5bdfd93547' was not found in the directory
Whenever I start a new session for connect-MSGraph, it defaults to using the old AppID, even if I’ve updated the AppID in the previous session. Please suggest a way to update the AppID permanently. I am expecting that “connect-MSGraph” session should…
Is it possible to create a powershell 5.1 runbook to disable AI settings in a environment.
Working on runbooks in Azure, and i'm trying to disable AI settings with one of them, but it doesn't work.
How to publish a Runbook to latest runtime version using blob storage?
Hi, so i have written a Powershell script that publish a files to my blob storage, and i got it to upload the file(s) to Process Automation/Runbooks. But i cant seem to get the Runtime version to the latest, how can i do that? Right now a part of the…
permissions for New-AzAKSCluster
Hello, I have 2 Azure environments (different Tennant / Subscription). In the first Tennant the script is running New-AzKeyVault ... New-AzAKSCluster ... without any problems... In the 2nd environment, New-AzKeyvault ... runs perfect and creates the…
Form help needed
I could not delete the question for some reason, so this is what was left
STDOUT in AZurePowershell
Hi Team, I am using the CData PowerShell connector in an Azure PowerShell runbook and attempting to generate logs with the -logfile "STDOUT://" option. However, I am unable to see any logs in the console. When I try the same configuration in…
Powershell to .exe - ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2'
I am having an issue converting a powershell script to .exe The issue seems to lie with connecting to exchange. Is there a better way to do this when converting to .exe? When running in powershell it seems to work fine. Powershell version 7.4.4…
PowerShell Script to list all the files and folders that are being shared in a document library
Hello, I am trying to find out which folders or files on a Document Library are being shared, either internally or externally, and who was it shared to. Is there a powershell script that does this? Best.
A Datetime object string value coming from MSGraph is corrupted with an extra ending space, what is causing this ?
I am retrieving lastsigninDateTime of users with MSGraph, and I came upon this error with one of the users. It seems like the string value has an added space or null character in this case for some reason, and it can't properly convert this to a Datetime…
AZURE Disable "Enable Always-on soft delete" option
Hello everyone. I am currently stuck after accidentally activating the "Enable Always-on soft delete" box on my vault, and I cannot uncheck it, delete the vault, or delete the resource where the vault is located. I followed the microsoft…
I need a full list of all mailboxes, shared mailboxes, and resources.
I am trying to get a single list that will show me all of our mailboxes, shared mailboxes, and resources, as well as show the license type. When I run this command (Get-Mailbox -ResultSize Unlimited | Select-Object DisplayName, RecipientTypeDetails,…