Which PowerShell cmdlets can be used to fetch Microsoft 365 Cloud App security configurations

Swarnim 41 Reputation points
2022-10-01T09:38:09.883+00:00

Hi! I need help to list the cmdlets which can be used to fetch the Microsoft 365 Cloud App security configurations. Thanks!246628-image.png

Microsoft 365 Publishing
Microsoft 365 Publishing
Microsoft 365: Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line. Publishing: The process of preparing, producing, and releasing content for distribution or sale.
595 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,354 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 39,336 Reputation points
    2022-10-04T08:20:25.537+00:00

    Hello there,

    Microsoft Cloud App Security also provides an API interface. Defender for Cloud Apps REST API https://learn.microsoft.com/en-us/defender-cloud-apps/api-introduction

    Also, make sure you have also enabled Auditing in Your Environment

    There’s also an Unofficial Microsoft Cloud App Security PowerShell module hosted on GitHub and hosted as well in the PowerShell Gallery as stated in the above reply, Why is it unofficial, you ask? Even though this module was designed by Microsoft employees, it is not a formal part of the MCAS product and you will not be able to get support through standard Microsoft channels.

    -------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer–

    1 person found this answer helpful.
    0 comments No comments

  2. Timmy Malmgren 736 Reputation points
    2022-10-01T22:22:15.77+00:00

    Hello!

    Have you had a look at this Unofficial module to se if it meets your requirement? It has a lot of functions to fetch information from the cloud app security portal, do read the wiki to get started as you need to create an API token in cloud app security portal to use it, but it takes just a min, remember that the token will have the same security rights as the user creating it.

    Disclamer, its unofficial but made by MS employees

    https://github.com/microsoft/MCAS

    Hope this helps and if you found it helpful, please mark as accepted to help others looking for the same information.

    Kind Regards Timmy