Automating the Client Secrets rotation using KeyVault or any methods before the expiry date?
I need to rotate the Client Secrets in my existing subscriptions before the expiry date. How can I achieve it for multiple subscriptions when using the suggested method ttps://learn.microsoft.com/en-us/azure/key-vault/secrets/tutorial-rotation? Can I…
Risk and consequence when executing Kerberos password reset in a Hybrid Azure AD - OnPremise AD DS?
What are the risks and consequences of resetting the Kerberos krbtgt account during business hours using the steps defined…
export the output
Hi all i want to execute the below syntax on few servers and i have created a collection and added the Servers to it. When i execute manually from powershell i get the output but i want to export that output to a text file under c:\windows\Temp folder.…
How to unenroll windows device from Intune using PowerShell?
Hello Experts, We have looking for some PowerShell script or command to unenroll the Windows device from Intune without user interaction. We are trying to enroll the device using the graph api query. we have deleted the device object from the managed…
Azure CLI ERROR when add extensions: An error occurred. Pip failed with status code 1
Hi everyone I'm trying to add extensions in Azure CLI with the command: az extension add --name subscription however I get the following message: An error occurred. Pip failed with status code 1. Use --debug for more information. Here the debug…
Partner center - automation to add security group to relationships
Hello, I would like to automate the ways we onboard our customer in partner center. When one of our customer accept the request, we are adding some security groups in the relationships with different Entra delegated roles (Under the tab "admin…
How to onboard On-premise Windows Servers on Azure Arc on scale using PowerShell (PSSession)
We are planning to onboard our on-premises Windows Server (lowest version is 2012 R2) to Azure Arc on a scale (Approx. 400 Servers). We downloaded PS script from Azure Arc and ran from one of the servers to other remote servers using PS Session to…
Powershell - Enable Bitlocker & Create recovery txt file output network directory
Hello, I have been searching to try and find a PowerShell set of commands or script to enable bit locker on remote machine and save the text recovery file to a UNC network path. I do not want to lock requiring pin or text to start the PC; just to save…
Using Powershell is there a way to find if a SharePoint Online site has a retention policy applied to it.
I am working on an automation and have found the option to exclude a SharePoint site from a compliance retention policy What I am looking for is to create a loop to check if the site has had the retention policy removed. So really just a cmdlet that…
Update snapshot Property by using Azure Automation account
Hello, I have a Backup vault that takes snapshot for OS disks and shared disks everyday, during 14 days. When checking the snapshot file, the network setting is enabled public access from all network. Because there are a lot of snapshot file that I need…
Powershell error while connecting with exchange
Hi Team, Good day. Getting error "Content within this application coming from the website listed below is being blocked by Internet Explorer Enhanced Security Configuration." while running (connect -exchangeonline) command in…
Unable to retrieve the list of Guest users without ExternalUserState value
There are cases when ExternalUserState property of Guest users may be empty (null/blank) due to invitation being sent from different services (possibly SharePoint). It is not possible to retrieve the list of those users because according to…
"Time to display recovery option when needed" setting
Is there a possibility to check the "Time to display recovery option when needed" setting whether it is checked or unchecked using a Powershell script?
PowerShell ISE script to access Azure Secrets and Azure Certificate Thumbprint using TenentID
Hello All, I am looking for guidance on writing PS ISE script to get Azure Secrets and Azure Certificate Thumbprint using TenantID. Any help would be highly appreciated.
Azure Lighthouse PowerShell
Is there any way to use PowerShell to interrogate Azure Lighthouse customers and their delegations? I have a need to get the Customer Name for the HomeTenantId of the subscriptions delegated to my tenant.
how can I find email address, cn number etc. in Get-CalendarDiagnosticObjects DisplayAttendeesAll names ?
Good Day Friends, I want to take calendar events with attendee list, by that I'm using CalendarDiagnosticObjects in PS, but in DisplayAttendeesAll part it's just showing the names. There are several people in the organization or in meeting request (as…
Mg Graph Sign-In logs showing data more than 30 days older
Hi folks, Hope you are doing well! I'm using a PowerShell script based on MG Graph module to get the last sign-in date of all users. PS script: Now as specified here Azure AD only stores Sign-ins data until 30 days in P2 license, but in the result of…
Issue adding new owner to Outlook shared calendar
Trying to add a new owner to a shared mailbox as the option is not longer available in Outlook application. Using PowerShell command Add-MailboxFolderPermission -Identity sourceuser.ac.uk:\calendar\ma_test -User destinationuser.ac.uk -AccessRights…
how to reinstall Microsoft PhoneLink after removing it with powershell
Following online suggestions for getting PhoneLink working i got to the reinstall phase and uninstalled with powershell but when I go to reinstall I get the error message c:\whatevermanifest not found ... the folders…
How to get list of all attribute in AD
Hello, How To get list of all attribute in AD(default and custom attribute ) in csv file. Thanks Rich