Enterprise Application Creation Alert Crate
What does the Enterprise Application Creation Alert Crate do?
This Crate automates the monitoring of new enterprise applications in Microsoft Entra and creates a ticket in your PSA system for each new app detected. By continuously scanning for updates, it ensures your IT team is promptly informed of any new apps, enhancing security and oversight.
How the Crate works
The workflow continuously monitors Microsoft Entra for new enterprise applications, checking daily for any changes or additions. The cron trigger can be adjusted to customize the time your workflow runs.
When a new app is detected, the workflow instantly generates a detailed ticket in your PSA system. This ticket includes pertinent information about the new app, ensuring your IT team is promptly notified and can take necessary actions.
The workflow interacts with Microsoft Entra to detect new enterprise apps and uses your PSA system's API to create and populate tickets with relevant data.
Workflow breakdown
The workflow begins with the begin task that uses the noop action to initialize the workflow execution.
The workflow proceeds to the list_applications task which uses the Graph API Request action to retrieve all enterprise applications from Microsoft Graph API, specifically requesting the displayName, createdDateTime, appId, description, and notes fields.
If the list_applications task succeeds, the workflow moves to the format_applications task that uses the noop action to filter the retrieved applications and identify only those created within the last 24 hours, publishing this filtered list as new_apps to the workflow context.
If the list_applications task fails, the workflow branches to the list_applications_failed task which uses the noop action as an error handling step before terminating the workflow.
After successful application formatting, the workflow executes the determine_alert task using the noop action to evaluate whether any new enterprise applications were found by checking if the new_apps list contains any items.
If new applications are detected, the workflow transitions to the create_psa_service_ticket task which uses the [Rewst Master v2] PSA: Create Service Ticket action to create a service ticket in the configured PSA system with details about the newly detected enterprise applications, including their display names, descriptions, creation dates, and app IDs.
If no new applications are found, the workflow branches to the no_new_apps task that uses the noop action to handle the scenario where no alerts need to be generated.
Both the ticket creation path and the no new apps path converge at the end task which uses the noop action to complete the workflow execution successfully.
Crate prerequisites
Your PSA must be successfully integrated with Rewst before unpacking this Crate.
The Microsoft Cloud Integration Bundle must be set up before unpacking this Crate.
Unpack the Enterprise Application Creation Alert Crate
Navigate to Crates > Crate Marketplace in the left side menu of the Rewst platform.
Search for
Enterprise Application Creation Alert.
Click on the Crate tile to begin unpacking.
Click Continue.
Note that you have the option under the Cron Job accordion menu to activate the Crate for all future organizations in addition to the current one. You may also set activation to certain trigger criteria or for integration overrides.
Click Unpack.
Use the Crate
To test this Crate, you'll need to adjust the cron trigger's schedule to a few minutes in the future, then adjust it back to your regular schedule after the test. Alternatively, you could wait until the regularly scheduled run occurs and check your result, which would not require you to update the cron trigger schedule.
Create a new enterprise application in Microsoft Entra.
Update your cron trigger in Rewst in the workflow to five minutes in the future.
After the time has passed, check to ensure that a ticket was created for the new enterprise application in your PSA.
Re-adjust the cron trigger as desired.
Update the cron trigger schedule
The cron trigger will execute the workflow to generate the ticket at the same time each day. You can adjust the chosen time for execution in the workflow itself. Edit a cron trigger in the workflow to change the timing of when it will routinely run.
Navigate to Automations > Workflows.
Search for
Alert - New Enterprise App Detected.Click on the workflow to open it in the Workflow Builder.
Click
to open the edit trigger menu.

Update the timing of the cron trigger as desired in the fields under Trigger Parameters. Note that when entering the time into the Cron Schedule field, the correct format is minutes followed by hour. For example, 18 3, not 3 18.
Click Submit.
Information recorded in the PSA ticket
The ticket description contains the following detailed information about each new enterprise application detected, formatted differently based on the PSA system:
Application Display Name - The friendly name of the application
Description - The application's description from Azure AD
Creation Date - When the application was created, formatted as
createdDateTimeApp ID - The unique identifier for the application ,
appId
Last updated
Was this helpful?

