Problems with managed identity and sharepoint
I have an azure function that creates sites in sharepoint. The problem is that after giving Sites.FullControl.All permissions under Microsoft Graph on the Managed Identity that the Azure function authenticates with, it creates the site correctly but when…
Cannot create New Entra ID User using Powershell
I am using PowerShell to connect to Microsoft Graph to create new users in Entra ID. I changed Graph version to too many versions but still got these errors. What is wrong with Microsoft? I am using Global Administrator account.
Universal Print - is there a Method of automatically deleting any Pending Print jobs that are several days old
I was wondering if there was a PowerShell Script command or an Intune Policy, Registry Entry etc. I could apply to my Windows 10/11 Devices where any Submitted Print jobs to a Universal Print Share that was pending and it was 5 Days old, the system…
is it possible to stop users downloading chrome apps via intune?
Hi all, Is it possible to stop users downloading app versions of sites ie youtube on chrome? If so can this be done via intune?
Group membership
Hi All The following script doesn't work for AD groups. Members of ADGroup1 should be able to add or remove users from other AD Group. please guide me. # Define the $owner that will be able to manage the members of $group $owner = "ADGroup1"; …
Can I put the value of instanceDurationInDays in minutes for the QA while creating access reviews using powershell?
I am able to create an azure access reviews with Graph API 1.0 using PowerShell. Now, there is a property called instanceDurationInDays which should have an integer value. The access review will remain active for the number of days of the value of…
How to get list of Reservations in Azure via Powershell that include remaining cost or cancellation fee?
I'm trying to use powershell or the Azure API to get a list of all of my reservations in USWest and USWest2 that are in a provisioned state of Succeeded (or not archived), along with their remaining cost like you can in the UI (see attached picture).…
About PS script
My requirements are My Azure AD users have company name attributes some have same names and some have different and some have no company name attribute Same company name atrribute users must see the calender of each other but different company name…
Could someone kindly help me to set the max memory for SQL via powershell
Hi Experts, Could someone please help me to set the max memory in SQL for the below request. I have checked the below link. But I am not able to make out. Because I am not expertise in scripting and PowerShell. So need your help. …
I am getting error, When I am trying to update the GPO by executing gpupdate /force.
Hi Experts, I have applied the GPO to disable windows auto update and Trying to update the GPO. But I am getting below error while I am trying to update the GPO. "Windows failed to applied the {F312195E-sD90-447A-A3F5-08DFFA24735E) settings .…
TCP connect to (<ip address> : <port>) failed
Hello, On a new Win11 laptop, I can't succeed to connect a network drive to a File Share with PowerShell. Here's a table listing the context: StepWin10Win11Connected to Azure P2S VPNYesYesConnection methodPowerShellPowerShellResource group A / Storage…
ExchangeOnline Powershell - Get-QuarantineMessage -ReleaseStatus Requested: no results
I'm having a problem running a Get-QuarantineMessage Powershell script for ExchangeOnline in Powershell. My manager is able to run it connecting to the exact same account and get results. When I run it, I just get brought back to the prompt without any…
In Purview,How to assign the glossary to the assets for bulk upload using script?
Hi, We have recently started using purview. One of the task we did is we defined our glossary and uploaded to the purview. Now we want to assign the glossary to the assets we have in purview. I am facing the issue with the payload and mapping step. …
Use PowerShell to enable 'Send copies of group conversations and events to group members' on a dynamic O365 group
I have done quite a bit of researching and asking 'Co-Pilot' without any luck. Essentially, I want to do what the title says, which is: Enable 'Send copies of group conversations and events to group members' for the specified group using PowerShell. The…
How can I assign User Role Policy (Role Assignment Policy) to a Mail-enabled security group using PowerShell?
I am trying to remove Forward option from OWA for our corporate users. I can create a new role and role policy can assign it to one single user or multiple users one by one, but I do not want manual process. We have hundreds of users, so I want to assign…
How do I upgrade multiple Windows 10 Pro users who have an Office 365 Enterprise license to Windows 11 Enterprise without reimaging the computer
How do I upgrade multiple Windows 10 Pro users who have an Office 365 Enterprise license to Windows 11 Enterprise without reimaging the computer?
PowerShell issue?
I am currently studying Powershell and in the book I am using it gives me this command to run........PS Cert:>GCI -Recurse > C:\a.txt; notepad.exe a.txt.....yet when I run this command the file opens up and it is blank. A little help please.
Effect of MC792991 Disablement of Symmetric keys for Microsoft Entra first-party applications Service Principals
Hello Team, Greetings! This is Joni. Due to the Microsoft post as follows, a partner need to address how this affects to end users' resources and workloads. Disablement of Symmetric keys for Microsoft Entra first-party applications Service Principals…
Service account and best practice for PowerAutomate flows and PowerApps flows
I have a bunch of flows running directly through my account (edit Excel files, edit Sharepoint list and adding documents, sending emails with Outlook under my name, etc), and I'm leaving the company soon. So I'm looking into a smooth transition. I've…
Getting report for any devices registered and Azure AD joined in the past hour via email?
I'm using Azure AD Premium P2 and haven't yet implemented Intune. How can I get a report of any devices that have joined and registered to my domain via Azure AD in the last hour by email? Is there a PowerShell script or even a built-in Azure AD…