How can I use Microsoft Graph (+PowerShell) to copy one user's calendar to a 365 Group calendar?
Hello, I am trying to copy events from one former employee's shared calendar to a 365 Group. I posted in the community earlier today and was directed here for further assistance. The situation: Employee 1 was part of Department A and had a created a…
A Powershell Script to remove Microsoft Teams Classic
Anyone who can share a powershell script that will remove Microsoft Teams Classic? Current script i have is that it will detect if Teams classic is installed then it will proceed to remove. Check if Microsoft Teams Classic is installed $teamsClassic =…
![](https://techprofile.blob.core.windows.net/images/D8hQfuDe2U2nfKfQkM5Lkw.png?8DACB7)
After 1/2 year API 403 error
I have a PowerShell script that runs daily and creates a folder in the employee contact lists via token (request) and writes the company's contacts in it so that everyone has them on their cell phone. The next day, this folder is deleted and the contacts…
![](https://techprofile.blob.core.windows.net/images/92LGs-kRCUGxGsS6_HJ-eA.png?8D85F3)
how to add user assigned managed identify in azure sql database using powershell?
how to add user assigned managed identify in azure sql database using powershell? I tried two methods as follow and they didn't work. 1.add parameter userassignedidentityid when create az sql database . # Create Azure SQL Database $databaseName =…
I'm trying to use the Get-MgUserDrive command in PowerShell with the 'me' alias, full email address, and explicit user ID, but keep getting a 'User not found' error
I run the command below in powershell with using the Invoke-MgGraphRequest cmdlet. Please find below the Powershell Command´s Screenshot and the error message. Here is the Error msg: What do you suggest? Gemini propose an Alternative…
Getting error in azure devops release
Below is the error: Error: The term 'Update-AzVmssInstances' is not recognized as a name of a cmdlet, function, script file, or executable program throws in Azure ppwershell of Azure devops pipeline.
![](https://techprofile.blob.core.windows.net/images/6zoZhv5_BgAAAAAAAAAAAA.png?8DABC3)
Sign-In report for Native Accounts
Please share the PS script that shows 90 days sign-in reports for Azure "Native" Accounts.
![](https://techprofile.blob.core.windows.net/images/U1Jln6XVxUOXS5Rme1kflg.png?8DC69F)
A way to check Print Spooler is stuck
Hello, I'm looking for a way to check that service spooler is stuck without trying to print something. I have an application which uses print spooler to print to PDF. However from time to time spooler gets stuck without any errors, nothing in queue and…
![](https://techprofile.blob.core.windows.net/images/iUn-b9_AMkuBikaCwNTSLQ.png?8DA1C2)
The risk and consequence for the users when migrating Legacy Multi-factor authentication to the new Entra ID Authentication methods
I need some assistance before migrating from this old legacy portal: https://account.activedirectory.windowsazure.com/UserManagement/MfaSettings.aspx to this new location:…
![](https://techprofile.blob.core.windows.net/images/WsWYoGdWukeBW66msAr6qQ.png?8D8128)
![](https://techprofile.blob.core.windows.net/images/WsWYoGdWukeBW66msAr6qQ.png?8D8128)
How do we fix 0x8a15000f : Data required by the source is missing?
I Am trying to run winget on a widows 11 pc and keep getting the error 0x8a15000f : Data required by the source is missing. Have done update reset and still get the issue with the same error.
Remove one meeting in a re-occurring series, using PowerShell
Disclaimer: The question was asked else where! The requirement is to cancel 1 meeting in a re-occurring series and the subject of my meeting is "Bad meeting 2" Meeting happens every Wednesday of the week 14:00 – 15:00 PM as an example. I want…
Missing ')' in function parameter list.
I can run this script fine: param ( [switch]$push = $false ) Why does running this script: param ( [switch]$push = $false [string]$string ) yield this error: Missing ')' in function parameter list. ?
How to run the Get-MgPrivilegedRoleAssignment successfully?
I got this error:
![](https://techprofile.blob.core.windows.net/images/WsWYoGdWukeBW66msAr6qQ.png?8D8128)
![](https://techprofile.blob.core.windows.net/images/WsWYoGdWukeBW66msAr6qQ.png?8D8128)
How to restart a VM in Automation State Configuration with latest configuration?
Hi. Let's say I've connected to a VM and enabled Azure Automation State Configuration. Then the VM stopped (for whatever reason). What should I do to restart the VM from the latest configurations? Can I just start it again or do I need to restore its…
How to get Gateways details for each API in the APIM Service?
We are getting the API Id of whole APIM service but not for each API in the APIM with the below script: $apimContext = New-AzApiManagementContext -ResourceGroupName "XXXX" -ServiceName "XXX" Get-AzApiManagementGateway -Context…
![](https://techprofile.blob.core.windows.net/images/Vf1X2UFgXkyiiR3Fj5mNkg.png?8D9605)
![](https://techprofile.blob.core.windows.net/images/Vf1X2UFgXkyiiR3Fj5mNkg.png?8D9605)
Something went wrong MDI instance cannot be created
How can I fix the below issue? The MDI instance on my existing tenant was not completed before by my predecessor, hence I deleted the three builtin groups, however, I am still stuck at the above issue, despite the gMSA has been created and the agent…
![](https://techprofile.blob.core.windows.net/images/WsWYoGdWukeBW66msAr6qQ.png?8D8128)
![](https://techprofile.blob.core.windows.net/images/WsWYoGdWukeBW66msAr6qQ.png?8D8128)
How to fix Deprecation issue for my VM which is a part of AVD and I have windows1019h2?
Hi, I have a VM which is a part of Virtual desktop. Now, I am the only assigned user in that VDI. I am getting error as my VM is about to deprecate till 8th Spptember. While checking the SKU in powershell. I found the version was : 18363.2274.220430. …
User is not allowed to call Get-RecipientPermission Even as a global admin
As a global admin I had the right to do everything. All of suddent I cannot manage mailboxes, I tried to give a user permission on a shared mailbox I get this error : User is not allowed to call Get-RecipientPermission, Also I assigned myself Exhange…
Older versions of Teams are still appearing in the registry for other user profiles and are being flagged as vulnerable in 365 Defender, specifically in the HKEY_USERS registry path for others users
Dear Teams, I wanted to update you on the issues we are facing after cleaning Classic Teams. Older versions of Teams are still appearing in the registry for other user profiles and are being flagged as vulnerable in 365 Defender, specifically in the…
![](https://techprofile.blob.core.windows.net/images/3Thznc9vnk6vkDy1YA5wVA.png?8DA647)
![](https://techprofile.blob.core.windows.net/images/3Thznc9vnk6vkDy1YA5wVA.png?8DA647)
Azure Synapse LinkConnection template json
We have created a LinkConnection in Azure synapse, the source database is MS SQL Server and target database is Dedicated SQL Pool. We are trying to create powershell script to automate the creation of this LinkConnection for each environment - Testing,…