Get Alert if a schedule is created on ADF job - azure-data-factory

Could you please let me know if there is a way to get an email alert if a schedule is created or a change is done to the existing schedule on Azure Data Factory Pipelines? This requirement is to monitor any schedule changes/ new schedule creations happening in the production environment and restrict them if done without proper approval in the project.
I tried using Azure log analytic workspace to achieve this requirement but the existing ADF log tables(ADFActivityRun, ADFPipelineRun, ADFTriggerRun) do not have any such information holding to write query (maybe am missing anything). Please let me know your views.
Many thanks in advance.
Thank you

For Roles and Permissions in ADF, you need Contributor role to create, edit, and delete data factories and child resources including datasets, linked services, pipelines, triggers, and integration runtimes.
You can create custom rule for a group where users can only monitor a data factory (or factories) but can't modify it.
You can refer this third-party tutorial on how to Create Azure Custom Reader Role for Data Factory and assign the role to a user whom you just want to give read permission.
For alerts, you can use Azure Monitor service to monitor and create alerts for your Azure Data Factory actions.
To get started, simply navigate to the Monitor tab in your data factory, select Alerts & Metrics, and then select New Alert Rule.
Give a name to your rule. Provide the severity to the alert. Add criteria to create a alert. There are plenty of scenarios available in the provided in-built criteria list. Then click on Configure notification.
The Configure notification allows you to choose options like Email, SMS, Azure notification and Voice call. You can choose multiple options as per your requirement.

Related

Azure Devops Rules for WorkItems

We have created a field in all Work Items, named "Manager" to assign the Manager of the developer/tester, to whom the work item is assigned to. Now that person in the Manager field is not getting any email Notification when the assignee updates the work item.
Tried setting the notification, but creating notification for every work item is not feasible.
I tried with setting rules, but doesn't seem to have the right conditions and actions available.
I read about third party tools like power automate. Before jumping into that solution, I would like to know if this can be achieved with the existing configuration settings in Azure Devops
I would like to know if this can be achieved with the existing
configuration settings in Azure Devops
I am afraid that azure devops currently does not provide built-in configuration settings to achieve this requirement.
You could add your request for this feature on our UserVoice site , which is our main forum for product suggestions. After suggest raised, you can vote and add your comments for this feedback. The product team would provide the updates if they view it.

Delete File from ADL after processing via ADF

This is a 2 part issue:
How to move/delete a file after processing. Currently we can only copy, but the original file remains in the source. Ideally we don't want to add a separate process to get metadata and compare if processed or not. I have been following one blog that asks to use a WEB activity and the Delete Rest API. I have gotten to that point, but I am not able to understand/follow instructions on to obtain the ACCESS TOKEN. It shows Curl steps, if someone can help on this would be great.
I have created a pipeline, that has 4 Main activities. As part of this pipeline I want to be able to send email notifications for Success and failure.
Each success of an activity moves to the next activity, but if any activity fails it will send email. I Want to be able to have one SUCCESS or FAILURE Notification and dynamically add content to email instead of sending email on previous activity. For Failure it seems like I have to create a separate web activity for each activity to align a Failure, which is not elegant.
Based on how the WEB activity is set to use the logical apps for email, we have to define the activity name that the email is associated with (at least based on my understanding). So i created a separate WEB activity for each failure email, not very elegant.
Does anyone have a better way to handle.
enter image description here
enter image description here
The only alternative is using a logic app to delete blobs, you can trigger the logic app also via a Web activity. Can you share the blog URL for the delete via web?
As for the email on failure, the issue is that you cannot have 'or' dependencies in the pipeline. A workaround that I'm using is to introduce a variable, when an activity fails or when the pipeline is finished, it sets the variable. In parallel in the pipeline I have a while activity that checks this variable. When it gets a certain value an action will be triggered. Also not elegant, but you don't need a lot of Web activities this way.

Azure DevOps Dashboard Created By Created Date

I've been asked to generate a report listing all the dashboards used by a team, who created them and when. Anyone know how to get this information from Azure DevOps? Thanks in advance for any assistance.
Unfortunately we cannot get the history information for now.
We can get the list of dashboards for a specific team by calling the REST API (Dashboards - List), and retrieve the properties (detail information) for a specific dashborad (Dashboards - Get), but both not include the history information (Created By and Created Date in your scenario).
There's already a user voice submitted here to suggest the related feature with adding Activity Log to Azure DevOps (VSTS) to track user access, you can go and vote it up or submit a new user voice to suggest the feature to achieve that in future release...

Workflow - ServiceNow

I'm new to ServiceNow and followed this tutorial Workflow for Servicenow Incidents to create a simple workflow for an approval request.
The steps that I took on studio of my developer instance:
Created an application "ServiceNowApp"
Created a table "Order"
Created a field "Status"
Created a workflow as described on tutorial
My intention is to trigger the workflow by the creation of a new record on Order table and change the Status field based on the decision of the responsable user.
Any advice is welcome to accomplish the goal
Thank you
When you create the Order table, make sure it extends the Task table. This will allow you to add an approval to it.
Based on that post you should be able to follow things as you build it out in the same manner, just select your Order table.
You can do it using core activities Approval - User and Set Values in your workflow.
(Your Order table doesn't need to extend Task table.)
Approval - User creates an approval record for the responsible user and the user can open the record to approve/reject it in the My Approvals menu.
Set Values sets Status field to any value.
Your workflow would look like below:
You can add the trigger conditions on the workflow itself while creating the workflow.
You can also choose the table and then choose any status field you want to act on the requests.
Below is the snapshot which might help you understand the concept.
Let me know if you need any help.
Regards,
Ishaan

sitecore workflow permissions

on the Sitecore Workflow and Security reference data sheets, i see these:
Workflow State Delete controls whether or not a security account (user or role) can delete items which are currently associated with a
specific workflow state
Workflow State Write controls whether or not a security account can update items which are currently associated with a specific
workflow state
Workflow Command Execute controls whether or not an account is able to view workflow commands
So, i'm on the Security Editor, adding permissions to my creator and publisher roles, so it really makes sense to me adding Delete and Write permissions to individual workflow states, but i don't see an Execute column for commands. How am i supposed to set these permissions for the roles?
The image below should answer your question: