How can I troubleshoot issues connecting my "Powershell Onedrive Graph" API to Microsoft Graph Explorer for bulk exporting OneDrive photo URLs to Excel using a Microsoft 365 Business Basic license?
Please find below a screenshot of Microsoft Graph , Azur Api and MS365 license. Thank you, Regards,
How to deploy KIR through script
Team, We have over 1000 assets managed by a third party RMM tool. The document here describes how to configure local groups manually through the GUI. Since we don't have GPO or Intune, we need a way to do this through CLI or a script. Please help us…
Getting an error when trying to setup Exchange Online ForwardingAddress in Azure Runbook
Hello, I am trying to setup an Azure Automation Runbook in which I convert a User Mailbox to a Shared Mailbox and setup a ForwardingAddress. I setup all the permissions and converting the mailbox is working, setting a forwarding address throws the…
Disk is not visible in portal
Hello Everyone. I am trying to add one OS disk as data disk into my vm using powershell. I am able to update the vm. after this it is not showing in portal. are we need to add manually. I want to reduce this efforts as well. I really appreciate for…
Invoke-PnPTenantTemplate is not performing any action.. "Access token acquired"
I have 2 SharePoint Online tenants which both have a modern communication sites. now i used this command to get the source site template:- PS C:\Users\mohan> Connect-PnPOnline -Url "https://ssms.sharepoint.com/sites/PPM-test/"…
What is the UserID required by Get-MgUserContact?
According to the documentation, Get-MgUserContact requires either a UPN or a UserId in the -UserId field. However, mail contacts don't have UPNs, and the documentation doesn't define what a mail contact's UserID is. I've tried email address, display…
Receiving "The SSL connection could not be established, see inner exception." on all Azure PowerShell cmdlets.
I am receiving the following error, regardless of the Azure PowerShell cmdlet that I am using. Again, it is for all azure cmdlets that I am receiving this SSL error message. My TLS is set to 1.2. About 1 out of every 3 Azure PowerShell cmdlets return…
i need help to delete the additional root folders i created
Hello. so i made the big mistakes of creating root folders and files and i need help to delete them so basically i was trying to code a node and java file and i didnt thought of what permissions im giving to the VS code and about 1 or 2 hours later i…
Restore a SQL Server backup to Azure SQL Managed Instance
What is the best way to restore an SQL Server backup file (.bak) from a storage container to Azure SQL Managed Instance, and overwrite the existing database with the backup? I am looking for the appropriate PowerShell Az command to accomplish this task.…
Discrepancy in Windows Form Appearance between PowerShell ISE and PowerShell
Hello Everyone, I've encountered an issue with the appearance of a Windows Form created using PowerShell. When running the script within PowerShell ISE, the form displays correctly with clear fonts and the expected size. However, when running the same…
Help with PowerShell - remove an attribute value if a user is not in all 4 groups
Hi, I am hoping to get some suggestions on how to do this. There are 4 defined groups. I need to get a list of AD users that have adminCount = 1 Then I need to compare. If a user is not in all 4 groups (not just 1 group), then remove the adminCount. This…
![](https://techprofile.blob.core.windows.net/images/siIzquzvok-OvkV73N8s5Q.png?8DA48C)
Runtime Exception When Using Set-OrganizationConfig
Trying to run Set-OrganizationConfig cmdlet in powershell EXO V3 module returns runtime exception: "unable to find type [uint]". Has anyone had this error before and know of a potential solution? I cannot find anything online to reference…
Powershell Script exporting MFA status and licence skuid
Hi all. I'm new to powershell and have been attempting to understanding some of the scripts readily available from the multitude of sources found by google. My objective is to export a list of licensed users, what their licenses are, and their MFA…
IF statement not functioning in Azure runbook
I have a runbook with a PowerShell if statement to check if the input value of a received MAC address is in a valid format. If the format is not valid I am running a cmdlet which calls a function to update the MAC address and use the updated MAC. Else if…
Power shell script to create excel file and load data by query
Hi, Please help me to get a powershell script to generate a excel file and send by DB mail. regards,
Retrieving task details from Migration Manager (Fileshare Migration) no longer work via Powershell
https://learn.microsoft.com/en-us/sharepointmigration/mm-reports#download-detailed-task-level-reports-via-powershell in the Function GetAlltasks there no longer retrieve Data from MS Graph and it gives no error Message so the Script get error, that no…
![](https://techprofile.blob.core.windows.net/images/fGkjp4has0Ge0PvHyM9iNw.png?8DBC64)
![](https://techprofile.blob.core.windows.net/images/fGkjp4has0Ge0PvHyM9iNw.png?8DBC64)
PowerShell Filter
Hello, I have powershell script like below output. The result is fine but when i want to filter only showing Type="Vmware Backup" and only to show "Job Name" and "Last Result" columns why i not get the result? Something…
![](https://techprofile.blob.core.windows.net/images/zCxR1gzTUkeGX5-wM6PGoA.png?8DB52A)
![](https://techprofile.blob.core.windows.net/images/as_Tu4nfLUeUI0EOf39xtg.png?8D9529)
Azue runbook - Exchange PowerShell
We are trying to automate mail flow reporting via Azure runbooks using an app registration (service principal) to authenticate. The runbook will query Exhchange Online powershell modules for mailflow data. The only Entra permissions that seem to allow…
Check Internet Connectivity using Powershell
Hello, I want to make a powershell script to test is the server have internet connectivity or not by doing ICMP to 8.8.8.8 for example and the script will return 1 if get reply and 0 if not get the reply. Anyone know here how to make that script?
![](https://techprofile.blob.core.windows.net/images/zCxR1gzTUkeGX5-wM6PGoA.png?8DB52A)
![](https://techprofile.blob.core.windows.net/images/zCxR1gzTUkeGX5-wM6PGoA.png?8DB52A)
ports remote request powershell
Hello. I have executed the get-service -computername PC01 command Wireshark showed me that port 135 is used in the first…