Compliance Search, Actions, Exchange Online.

%3CLINGO-SUB%20id%3D%22lingo-sub-321019%22%20slang%3D%22en-US%22%3ECompliance%20Search%2C%20Actions%2C%20Exchange%20Online.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-321019%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20Team%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20reading%20through%20this%20documentation%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice365%2Fsecuritycompliance%2Fsearch-for-and-delete-messages-in-your-organization%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice365%2Fsecuritycompliance%2Fsearch-for-and-delete-messages-in-your-organization%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EStep%202%20says%20that%20you%20need%20to%20connect%20to%20Security%20and%20Compliance%20Center%20to%20perform%20the%20following%20actions%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENew-ComplianceSearchAction%20-SearchName%20%22Search%20Name%20Here%22%20-Purge%20-PurgeType%20SoftDelete%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%20that%20is%20entirely%20in%20accurate%20as%20i%20was%20able%20to%20run%20and%20the%20command%20successfully%20completed%20without%20connecting%20to%20security%20and%20compliance%20center.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20anyone%20shed%20some%20light%20on%20this%20for%20me%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERobert%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-321019%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EeDiscovery%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-321661%22%20slang%3D%22en-US%22%3ERe%3A%20Compliance%20Search%2C%20Actions%2C%20Exchange%20Online.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-321661%22%20slang%3D%22en-US%22%3E%3CP%3EYeah%20not%20sure%20about%20the%20tests%20-%20I%20took%20the%20O365%20exams%20back%20when%20they%20were%20in%20beta%20and%20haven't%20bothered%20with%20them%20since.%20I'd%20imagine%20some%20stuff%20is%20outdated...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-321414%22%20slang%3D%22en-US%22%3ERe%3A%20Compliance%20Search%2C%20Actions%2C%20Exchange%20Online.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-321414%22%20slang%3D%22en-US%22%3E%3CP%3EI%20see%20thanks%20Vasil.%20So%20i%20guess%20if%20its%20presented%20as%20an%20option%20on%20the%20test%20then%20i%20should%20probably%20pic%20k%20the%20%22Microsoft%22%20answer%20to%20the%20question.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-321159%22%20slang%3D%22en-US%22%3ERe%3A%20Compliance%20Search%2C%20Actions%2C%20Exchange%20Online.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-321159%22%20slang%3D%22en-US%22%3E%3CP%3ESome%20of%20the%20SCC%20cmdlets%20are%20indeed%20exposed%20in%20%22regular%22%20Exchange%20Online%20PowerShell%2C%20but%20it's%20best%20to%20connect%20to%20the%20SCC%20and%20use%20the%20%22full%22%20versions%20instead.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Contributor

Hey Team, 

 

I am reading through this documentation here: https://docs.microsoft.com/en-us/office365/securitycompliance/search-for-and-delete-messages-in-your...

 

Step 2 says that you need to connect to Security and Compliance Center to perform the following actions: 

 

New-ComplianceSearchAction -SearchName "Search Name Here" -Purge -PurgeType SoftDelete

 

However that is entirely in accurate as i was able to run and the command successfully completed without connecting to security and compliance center. 

 

Can anyone shed some light on this for me?

 

Thanks, 

 

Robert

3 Replies
Highlighted

Some of the SCC cmdlets are indeed exposed in "regular" Exchange Online PowerShell, but it's best to connect to the SCC and use the "full" versions instead.

Highlighted

I see thanks Vasil. So i guess if its presented as an option on the test then i should probably pic k the "Microsoft" answer to the question. 

Highlighted

Yeah not sure about the tests - I took the O365 exams back when they were in beta and haven't bothered with them since. I'd imagine some stuff is outdated...