Is it possible to connect to the Microsoft 365 Security & Compliance center through a PowerShell script? We are trying to configure users that belong to a specific department for a retention policy through the use of the Set-RetentionCompliancePolicy command.

by (180 points)

1 Answer

by (309k points)
0 votes

Hello,

As per Microsoft documentation, connecting to Microsoft 365 Security & Compliance center should work just fine via PowerShell. For details, have a look at the following article: https://docs.microsoft.com/en-us/powershell/exchange/connect-to-scc-powershell?view=exchange-ps.

Related questions

I am trying to connect to teams via powershell in adaxes to run the following commands. Set-CsUser -Identity -EnterpriseVoiceEnabled $true -HostedVoiceMail $true Grant- ... )" I am not able to run the following though, Connect-MicrosoftTeams

asked Apr 22, 2021 by TJ_Umredkar (140 points)
+1 vote
1 answer

I am trying to automate some of my o365 scripts so that the helpdesk can run them with elevated permissions and not have that ... -Credential $o365Credentials -Authentication Basic -AllowRedirection Import-PSSession $session -AllowClobber -DisableNameChecking

asked Nov 23, 2018 by jbadry (450 points)
0 votes
1 answer

Hello, We are currently rolling out a deployment for Windows Hello. For this, we have created a custom automation in Adaxes for users to have to reset their passwords on ... this group? Or, do you have another recommendation for getting this done? Thank you.

asked Mar 26 by aewilliams.324 (20 points)
0 votes
1 answer

Please sdvise if Adaxes is capable of managing file folder security aa Microsoft LDA?

asked Oct 22, 2025 by hhsmith (180 points)
0 votes
1 answer

Our Microsoft 365 licensing changed recently. All of our end users has a particular license that is no longer valid (ENTERPRISEPREMIUM = Office 365 E5). I need to give everyone that ... the same time, remove the old license. How can this be set up in Adaxes?

asked Jul 21, 2025 by RayBilyk (290 points)
0 votes
1 answer