Ways to Automate the Workflow
Modified on Fri, 13 May 2022 at 10:11 AM
Categories
-
What's New
-
Release Information
- CoreView Release Notes May 2023
- CoreView Release Notes April 2023
- CoreView Release Notes March 2023
- CoreView Release Notes February 2023
- CoreView Release Notes January 2023
- CoreView December 2022 Release Notes
- CoreView November 2022 Release Notes
- CoreView October 2022 Release Notes
- September 2022 Release Notes
- August 2022 Release Notes
- Release 22.06 Key Features
- Release 22.05 Key Features
- Release 22.04 Key Features
- Release 22.03 Key Features
- Release 22.01 Key Features
- Release 21.12 Key Features
- Release 21.11 Key Features
- Release 21.10 Key Features
- Release 21.09 Key Features
- Release 21.08 Key Features
- Release 21.07 Key Features
- Release 21.05 Key Features
- Release 21.04 Key Features
- Release 21.03 Key Features
- Release 21.02 Key Features
- Release 21.01 Key Features
- Release 20.12 Key Features
- Release 20.11 Key Features
- Release 20.10 Key Features
- Release 20.09 Key Features
-
Release Information
- Getting Started with Customer Care
-
Getting Started with CoreView
-
Configuring
- Configuration Overview (New UX)
- Configuration Overview
- Creating CoreView Tenant Administrators (New UX)
- Creating CoreView Tenant Administrators
- CoreView Operator Uses Cases & Dependencies
- Creating a License Pool
- Understanding Virtual Tenants
- Frequently Asked Configuration Questions
- "Send As" DNS Requirements for CoreAdoption Campaigns (Optional)
- How to enforce MFA on CoreView service accounts
- Creating a License Pool
-
A Quick Tour of CoreView
- A Quick Tour of the CoreView Interface
- Introducing the CoreView New User Experience
- CoreView New UX FAQ
- CoreView Dashboards
- Using CoreView Reports
- How to use CoreView Management Actions (New UX)
- How to use CoreView Management Actions
- Understanding CoreView Releases
- Creating your first Workflow - A Practical Exercise
- Introducing the new site for Partner customer management
-
Configuring
-
How to
-
Exchange Online
- How to check and analyze the Message Trace
- How To Configure Email Forwarding
- How to convert a Shared Mailbox to a User Mailbox
- How to convert a user mailbox to a shared mailbox in Exchange Online
- How to Create Microsoft 365 Groups for Improved Collaboration
- How To Create Shared Mailbox
- How To Create User Mailbox
- How To Grant Access To Mailbox
- How to List all the Mailboxes a User has access to in Microsoft 36
- How to remove delegates from Mailbox
- How to remove user access to Mailbox
- How to review and manage Exchange online mailbox permissions
- How to verify if a user has updated the Password
- Read Permission for Mailbox
- What are security groups and How to create it
- What is a Distribution Group and How to create it
-
Exchange Online
- Custom Actions Library
- Getting Started with CoreHybrid
-
Knowledge Resources
-
Understanding CoreView - Quick Start Guides.
- CoreView Quick Start Guide Overview and Index - Tenant Admins
- CoreView Quick Start Guide Overview and Index - Operators
- Understanding CoreView Tenant Configuration – Management
- Understanding the CoreView Operator Profile
- Understanding CoreView Operator Roles
- Understanding CoreView Operator Delegation
- Understanding CoreView - Report Column Filtering
- Understanding CoreView - The User Interface
- Understanding CoreView Tenant Configuration - V-Tenant User Filters
- Understanding CoreAdoption – Templates and Campaigns
- Understanding CoreLearning - Content Hierarchy
- Understanding CoreView Tenant Configuration - Portal Information
- Understanding CoreView Tenant Configuration - CoreLearning
- Understanding CoreView Tenant Configuration Options
-
Troubleshooting Common Issues
- Unable to see OneDrive, SharePoint and Exchange Data (New UX)
- Unable to see OneDrive, SharePoint and Exchange Data
- Remote Office 365 PowerShell session can Conflict CoreView Management Actions
- Why I cannot save the changes on existing License pool?
- Error when attempting to perform a Management Action (New UX)
- Error when attempting to perform a Management Action
- Unable to modify the Assigned Licenses in my License Pool Report
- Enabling Permission for Endpoint Manager Actions (New UX)
- Enabling Permission for Endpoint Manager Actions
- How to enable permission for BitLocker keys report (New UX)
- How to enable permission for BitLocker keys report
-
Tenant Administration
- How to recreate Admins Read-only (New UX)
- How to recreate Admins Read-only
- How to add an operator to the portal?
- How to enable and configure CoreView management session (New UX)
- How to enable and configure CoreView management session Current UX
- How to provide a consent to activate Azure AD Reports Feature and activate Partial Import?
- Tips & Tricks: Leverage Pivot Reports to Prototype License Pool Criteria Filter
- Tips & Tricks - How to manage email notifications for newly added Operators.
- Disable MFA from Read Only Service Accounts
- How To: Report on "Consumed Portal Licenses" (New UX)
- How To: Report on "Consumed Portal Licenses"
- How to Configure Allowed IP Addresses for CoreView Service Accounts
- Tips & Tricks: How to merge License Pools
- How to Use CoreView's Global Report Filters
- How to use the What If tool to check Azure AD conditional access policies
- How to Configure Allowed IP Addresses for CoreView Service Accounts
- How to Archive a Teams Group
- How to Restore a Teams Group
- On-demand Import for a Single Device in Endpoint Manager (Intune)
- Custom Actions using the Microsoft Graph API
- How to set up your tenant for the switch to Microsoft Graph API
- GraphAPI configuration: How to get Client ID and Client Secret
-
Reporting and Analytics
- How do I Check and Manage Calendar Permissions for a User? (newUX)
- How CoreView can help you with your Microsoft 365 Chargeback Goals.
- New UX: Understanding the new License Centers
- Understanding the Savings Opportunities Dashboard
- Understanding the License Optimization center
- Understanding License Pool Snapshots report
- Understanding Call quality dashboard
- Understanding Call quality report
- Understanding User call quality report
- Understanding Teams groups activity report
- Understanding Teams Adoption Growth Report
- Understanding Endpoint Manager reports
- Understanding Teams dashboard
- Understanding Risky Users report
- Understanding KPI dashboard
- Understanding Storage Dashboard
- Troubleshoot Active Users (License Usage) data
- Legacy Protocol Management
- Report Columns: Is active 30/60/90
- Quarantined Messages Report - Understanding The Reports
-
Managing and Administration
- Teams Voice: Direct Routing Support
- How to enable management function?
- CoreView Playbooks Overview
- CoreView Playbook Policy Overview
- Forward SMTP Address vs Forward Address management actions
- How to add the users in bulk while executing Users management actions?
- How to Create & Manage Custom Actions (New UX)
- How to Create & Manage Custom Actions
- How to schedule a report to be sent automatically, and how to modify its scheduling options?
- How to schedule an alert report for the License Count
- Tips & Tricks – How to read and modify license pool report?
- Overview of CoreView Workflow
- How to delegate Workflow management using roles
- How to configure CoreView and ServiceNow integration
- How to Enable Multi Factor Authentication for Operators and Admins who Access the CoreView Portal (New UX)
- How to Enable Multi Factor Authentication for Operators and Admins who Access the CoreView Portal
- How Can I Migrate from Group-Based Licenses to Direct Licenses Managed by CoreView?
- Naming convention rules
- Custom Actions: Forbidden and Warning Values
- How to add users to Distribution Group in bulk using via CSV
- Not able to manage licenses error (New UX)
- Not able to manage licenses error
- Using custom action json output as an input in the workflow
- Setting the Sensitivity Label on SharePoint as a Mandatory Field
- DistinguishedName vs OnPremisesDistinguishedName
-
Customer Engineering Workshop
- Migrating from Azure Group Based Licensing to CoreView
- Customer Engineering Workshop - Teams Voice
- Customer Engineering Workshop - Playbooks – policy, perfected
- New UX Workshop - General Overview Session 2
- New UX Workshop - General Overview Session 1
- What’s new in License reporting – the new user interface and the License Center
- CoreView and ServiceNow – Integrating Workflows with ServiceNow
- Advanced Workflows & Custom Actions
- Customer Engineering Workshop: Reports, Dashboards, and Alerts
- Limiting M365 Admin Access with Permission Roles, V-tenants, and License Pools
- Customer Engineering Workshop Global - Group Licensing with CoreView
- Customer Engineering Workshop Global - Filters and Custom Actions
-
Understanding CoreView - Quick Start Guides.
- Internal Customer Care Resources
- Service Issues
-
CoreView Product Manual
-
Analyze
- Dashboards
- KPI Dashboard
- Operational Reports
- License Reports
- User Reports
- Mail Traffic Reports
- Exchange Reports
- Skype for Business Reports
- Teams Reports
- Group Reports
- Device Reports
- Endpoint Manager Reports
- Security reports
- SharePoint Reports
- Aggregation Reports
- OneDrive Reports
- Yammer Reports
- Report Actions
-
Analyze
- Getting Started with CoreLearning
- Getting Started with CoreScan
- Getting Started with CoreTag
- Getting Started with CoreSaaS
- Learning Platform
In this document, you will learn four ways to trigger a workflow in CoreView.
There are four ways to trigger a new workflow:
2. Trigger an Event Under Audit Log
4a. How to Obtain your API Key
4b. How to Obtain your Companyid and Environment
4d. Use your API Key to get a JWT token
1. Schedule Workflow via CSV
You can import the source file using:
- URL
- FTP
- FTPS
- SFTP
Then, you map the inputs in the specified .csv file to the names of the workflow execution inputs. Then, you can choose the scheduling options.
Note: You should ensure that all expected column names in the specified .csv source are matched exactly to the names of the workflow execution inputs. Still, if some of the column names do not match, the workflow can be run based on the input names that match CSV column names, but it could fail or not be executed correctly.
If the workflow was run against multiple entries, then there will be several workflows performed (jobs here), and each will have its own id. Once all workflow(s) (jobs) are executed, the original CSV file will be substituted with the file that has the aggregation id added at the end of the original name file that is generated using the date and time the workflow was performed plus aggregation id for all jobs performed by workflow. So, the aggregation id is generated to combine the results from the multiple jobs performed.
2. Trigger an Event Under Audit Log
CoreView enables the configuration of automated alerts for any event activity reported in Office 365 log files. The simplified wizard UI makes it easy for IT administrators to choose the available log categories and associated events from available picklists and activities to identify the security risks they want to monitor. The wizard UI walks the administrator through a step-by-step process to identify the log event and select the recipients to alert or the workflow to execute. These alert notifications are generated from the audit activities performed by CoreView on an almost real-time basis. When a preconfigured security watchdog setting matches a known compliance breach, an alert message is sent via e-mail to a specified distribution list or triggers the workflow.
To create, edit or delete an Event Alert, go to Audit – Alerts Reports – Manage Alerts.
An alert can be set for the following workloads:
- Azure Active Directory
- CRM
- Exchange
- Microsoft Flow
- Microsoft Forms
- Microsoft Stream
- Microsoft Teams
- OneDrive
- PowerApps
- Power BI
- Project
- Security Compliance Center
- SharePoint
- Sway
- Threat Intelligence
- Yammer
Then, you can choose the event (operation) to trigger and an option to send just an alert or start a workflow. So, the workflow will be performed on the triggered event in near real-time.
3. Schedule Report
You can schedule most of the reports available on our portal and set the workflow to be run under the 'Actions' section based on the chosen schedule settings.
Once you select the workflow, you have to auto map the inputs to ensure that they will be run correctly against the chosen report. Assure that you have chosen 'Send when' and 'is not empty' under schedule settings so that there will be input to run the workflow.
Note: it could be that the scheduled report always includes the same results, and the workflow will be run each time against the same user, 'disable user', for example, but you need to run the workflow just once against this user. You can then apply the tag to the user by adding the relative action 'Add tag' at the end of the workflow. You will modify your scheduled report settings by adding the report or column filter on' tags' does not contain 'tag added to the user at the end of the workflow' to avoid running this workflow against the users with the specific tag.
Editing the workflow by adding 'Add tags' at the end of the workflow
- Editing the workflow by adding ‘Add tags’ at the end of the workflow
- Editing current settings of scheduled report by adding a report/column filter on ’tags’ does not contain ‘Your tag’.
4. Open API
To get started, you will need your API key, CompanyId, and the Workflow public API URL to call the Workflow public API.
4a. How to Obtain your API Key
- You will click on your name avatar and select "Manage API Keys".
You will be on the "Manage API Keys" page.
- Click "Manage", then "Add new App". This action will open a dialog box "ADD NEW APP".
- You will add an 'App Name' (in this example, we have called ours "Workflow"), an "Expiration date" (defaults to one year), and any comments that you want to put in the "Notes" field.
- Click the blue checkmark in the top right of the dialog box to save.
Your unique API key is now created.
- Copy the generated API key and save it in a secure place. It is displayed only once, and you cannot see it a second time.
4b. How to Obtain your Companyid and Environment
For your CompanyId and your environment, please contact the CoreView Support Team and use the API URL below based on your environment.
Location | Workflow API URLs | Auth API URLs |
Europe | ||
Canada | ||
East US | ||
Gov US |
4c. Setting up Postman
- Import the postman script into your Postman.
- Set up your environment variables as follows
4d. Use your API Key to get a JWT token
The API Key generated in the previous step does not allow you to run a Workflow directly. This API Key allows you to call the CoreView Central Authentication API to get a JWT token, which you can use to trigger a Workflow.
Use the following URL based on your environment:
Location | Auth API URLs |
Europe | https://login02.coreview.com/api/auth |
Canada | https://login02.coreview.com/api/auth |
East US | https://login02.coreview.com/api/auth |
Gov US | https://uslogin.coreview.com/api/auth |
Please refer to the "Get JWT Token" request on the attached Postman collection document for reference.
You need to use your API Key as the Bearer Token in the Authorization of the Request.
Calling this API will give you this JSON output:
{
"userId": "123456",
"sessionId": "dflkgdfklgjdlkfgjpfg",
"userName": "username",
"displayName": " displayName ",
"bearerToken": "eyJ0exxxxxxxxxxxxxxx",
"refreshToken": "eyJ0eXAxxxxxxxxxxxx",
"profileUrl": "xxxxxxxxx",
"roles": [
"Service"
],
"permissions": [],
"responseStatus": {}
}
Keep the bearerToken value (your JWT token) you received so that you can reuse it to trigger your workflow. You can also save the refreshToken to ask for a new JWT token if this one expires.
4e. Run your Workflow
The CoreFlow API can now be called using the JWT token obtained in the previous step to start a workflow.
Looking to the Postman collection, check the "Start Manual Executions" request.
To trigger your workflow, identify your workflow Id from your workflow definition details in CoreView (see screenshot below):
Make sure in your request that:
- The JWT token you got from the previous call is set as your Bearer Token in this request,
- Your workflowId parameter is set as part of the request URL,
- Your companyId is set into the "x-scompany" header.
Lastly, identify the required properties of your workflow input, looking into your workflow definition (Editing your workflow and clicking on the "Configure Execution Inputs"):
Required inputs need to be sent in the request body as properties from the JSON (see the example below in Postman highlighting how to set input properties):
As per supported values types (string, number, or boolean), values set as properties in the request follow the definition of those types in JSON.
Let's recap all steps for this request to be ready:
- Set the Bearer token to the JWT value you got from the previous call,
- Set the workflowId you want to run in the REST API path,
- Set the HTTP header "x-scompany" to your companyId value,
- Set the required inputs from your workflow into the request body.
From that point, send your request, and your workflow will be on its way!
Happy workflows!
Open API Attachment json:
Attachments (1)