Month: August 2024
Macro not working
Good morning – My macro isn’t working and I need some help. I reached out here a bit ago and someone created this macro to help updates/made this format a bit more PowerBI friendly.
I have my original report in the OR Report Scrubbed 2019-2024 file, then I head to the 2016-2023 OR Data.PowerBI format file and update the link in the PARAM tab, and then refresh the table.
I was wondering if you could help fix this macro/table so it will refresh with the most recent data!
This is the error that I’m getting:
Good morning – My macro isn’t working and I need some help. I reached out here a bit ago and someone created this macro to help updates/made this format a bit more PowerBI friendly. I have my original report in the OR Report Scrubbed 2019-2024 file, then I head to the 2016-2023 OR Data.PowerBI format file and update the link in the PARAM tab, and then refresh the table. I was wondering if you could help fix this macro/table so it will refresh with the most recent data! This is the error that I’m getting: Read More
How does Parallel Computing Toolbox handle Performance and Efficiency core usage?
I have a computer with a CPU where the architecture has been split into Performance Cores and Efficiency Cores (P and E cores). I would like to use this with Parallel Computing Toolbox but I am unsure how many workers to run and whether I should be using both types of cores?I have a computer with a CPU where the architecture has been split into Performance Cores and Efficiency Cores (P and E cores). I would like to use this with Parallel Computing Toolbox but I am unsure how many workers to run and whether I should be using both types of cores? I have a computer with a CPU where the architecture has been split into Performance Cores and Efficiency Cores (P and E cores). I would like to use this with Parallel Computing Toolbox but I am unsure how many workers to run and whether I should be using both types of cores? cores, parallel, numworkers MATLAB Answers — New Questions
Where can I find a comprehensive explanation of the Filter Design tools available in Matlab?
I have been trying to learn about the filter design tools avaialable in Matlab so that I can make an informed decision about which tools I need to use for particular applications. Unfortunately, I have not found a comprehensive explanation. Instead, I have learned that there appear to be tools in the Signal Processing Tollbox as well as the DSP System toolbox. Some of these tools are GUI-based, and others are functions, but many of them seem to have overlapping features. Both toolboxes appear to have unique data objects for storing filter designs, but I cannot find references to tools for converting between data types. Normally, I use the low-level functions like BUTTER to generate analog or digital filter designs and I will either store these as NUM & DEN arrays or as LTI objects. I also cannot find any reference for how I can convert either NUM,DEN or LTI object formats to any of the unique data objects in the digital filter design/analysis GUI’s. This is incredibly confusing and is not what I am used to with regard to traditional MathWorks documentation. Please direct me to a comprehensive reference on all of the digital filter design tools supported by MathWorks. I really hope that I don’t have to read all of the documentation for every tool just to figure out which one I need to use…I have been trying to learn about the filter design tools avaialable in Matlab so that I can make an informed decision about which tools I need to use for particular applications. Unfortunately, I have not found a comprehensive explanation. Instead, I have learned that there appear to be tools in the Signal Processing Tollbox as well as the DSP System toolbox. Some of these tools are GUI-based, and others are functions, but many of them seem to have overlapping features. Both toolboxes appear to have unique data objects for storing filter designs, but I cannot find references to tools for converting between data types. Normally, I use the low-level functions like BUTTER to generate analog or digital filter designs and I will either store these as NUM & DEN arrays or as LTI objects. I also cannot find any reference for how I can convert either NUM,DEN or LTI object formats to any of the unique data objects in the digital filter design/analysis GUI’s. This is incredibly confusing and is not what I am used to with regard to traditional MathWorks documentation. Please direct me to a comprehensive reference on all of the digital filter design tools supported by MathWorks. I really hope that I don’t have to read all of the documentation for every tool just to figure out which one I need to use… I have been trying to learn about the filter design tools avaialable in Matlab so that I can make an informed decision about which tools I need to use for particular applications. Unfortunately, I have not found a comprehensive explanation. Instead, I have learned that there appear to be tools in the Signal Processing Tollbox as well as the DSP System toolbox. Some of these tools are GUI-based, and others are functions, but many of them seem to have overlapping features. Both toolboxes appear to have unique data objects for storing filter designs, but I cannot find references to tools for converting between data types. Normally, I use the low-level functions like BUTTER to generate analog or digital filter designs and I will either store these as NUM & DEN arrays or as LTI objects. I also cannot find any reference for how I can convert either NUM,DEN or LTI object formats to any of the unique data objects in the digital filter design/analysis GUI’s. This is incredibly confusing and is not what I am used to with regard to traditional MathWorks documentation. Please direct me to a comprehensive reference on all of the digital filter design tools supported by MathWorks. I really hope that I don’t have to read all of the documentation for every tool just to figure out which one I need to use… filter design, digital filter MATLAB Answers — New Questions
Is there a variant of nlfilter for color images?
I need to perform quite a complex operation on color image using sliding window way. Is there any variant for RGB images?I need to perform quite a complex operation on color image using sliding window way. Is there any variant for RGB images? I need to perform quite a complex operation on color image using sliding window way. Is there any variant for RGB images? sliding window, nlfilter, image processing MATLAB Answers — New Questions
Creating and customizing Copilots in Copilot Studio
How to create a CoPilot and use it in your Blog with your blog’s Data
Intro
Today, we’re going to embark on an exciting journey of creating our very own AI assistant, or ‘Copilot’, using the powerful Copilot Studio. But that’s not all! We’ll also learn how to seamlessly integrate this Copilot into our WordPress site, transforming it into a dynamic, interactive platform. Our WordPress site will serve as the primary data source, enabling our Copilot to provide personalized and context-aware responses. Whether you’re a seasoned developer or a tech enthusiast, this guide will offer a step-by-step approach to leverage AI capabilities for your WordPress site. So, let’s dive in and start our AI adventure!
Preparation
Luckily we can try the Copilot Studio with a trial license. So head on to https://learn.microsoft.com/en-us/microsoft-copilot-studio/sign-up-individual and find all the details. You will have to sign in with a Microsoft 365 user email. You need a Microsoft 365 Tenant as you understand!
For those who are actively using Power Apps i suggest to have a god look at https://learn.microsoft.com/en-us/microsoft-copilot-studio/environments-first-run-experience, so you can grasp the details regarding Environments.
Creation
Once we are ready, head over to https://copilotstudio.microsoft.com and you can start working with new Copilots!
Let’s create one shall we ? Select the upper left Copilots menu, and New Copilot. Add the name you want and add your BlogSite where the Copilot will get it’s data. Go to the bottom and select Edit Advanced Options and check the “Include lesson topics…”, select a icon and leave the default “Common Data Services Default Solution”.
Once you create the Copilot you will find it in the left menu on the Copilots section:
Configure
The first thing we are going to do is to change the Copilot message for salutation. There is a default one which we can change once we click on the Copilot and inside the chat box of the Copilot message. We will find on the left designer area the predefined message which we will change to our preference.
Remember to Save your changes!
Topics
The most important element of our Copilot are the Topics. Topics are the core building blocks of a chatbot. Topics can be seen as the bot competencies: they define how a conversation dialog plays out. Topics are discrete conversation paths that, when used together, allow for users to have a conversation with a bot that feels natural and flows appropriately.
In our Copilot we have 3 Topics that we do not need, so from the Topics menu, select each Lesson Topic, from the dotted selection and disable it. You can also delete completely these three unneeded Topics.
It is also important to disable Topics that we don’t need otherwise we have to resolve any errors on the existing Topics, since we are making changes. The Topics we need to disable are in grey :
Before starting deep we also changed a standard Topic named “Goodbye”. You will understand that we may need to make it simpler so here is a proposed version:
As you can see we just changed the end of the Chat with a simple “Thanks for using …”
We also propose to change the Greeting to Redirect to the Conversation Start for a unified experience !
Let’s create a simple Topic, where the Copilot responds to specific questions. You can add your own phrases as well. From the Topics menu select “Create” – “Topic” – “From Blank”
Add the Trigger phrases you wish. We have selected the following :
What do you do?, What is your reach?, What can you tell me?
Add a node with the Message property and add the text which the Copilot will use to answer. You can add the name of the Copilot by selecting the variable icon inside the node. Add a final node that ends this topic:
You can edit the name of your Topic in the upper left corner, and save it ! Before anything you can always test it on the left chat box! Now let’s do something more creative ! Let’s ask the user if they would provide their email so we can send a summary of the conversation ! The Copilot should make it clear that it is optional and should not interrupt the conversation. So the first thing we need to do is to add a new Topic where we can get the user’s email address and store it as a variable. Since the user can request to provide the email later, we can offer this option as well, with the trigger. Here is our Topic:
Pay attention to the closing node and the comment. We have added a Redirect to the Greeting Topic, so we can avoid falling in the Loop of the Start Conversation. To do that we add a new node, Topic Management – Go to another Topic. Now let’s build the the request with a condition, by editing the Conversation Start Topic ( the one we edited at the beginning ). From the Topics menu select All and find the Conversation Start Topic. Add a new Node after the Message with a question. We have this text so the user is aware about the options they have:
Would you like to provide an email so you can get a summary of our Interaction? It is optional and you can add it later by simply saying “Get my Email”!
In this Question Node, select the Multiple Choice options and add the YES and NO possible answers, while saving the answer on a variable. You can rename the variable if you want to. The next node is an “Add a Condition” node and when the answer is YES we send the conversation to the Get User’s Email Topic, while the opposite we send it to the Greeting. Here is our design for the Topic:
Save the Topic, and you can test your Copilot on the left Chat box. You will notice that we can’t redirect the user without a validation message. So we can edit the Get User’s Email Topic with a Message Node like this:
Now we have the basic idea of the Topics ! Play around and create your paths ! Be careful not to fall under loops and always try the Copilot !
We can expand to Power Apps for Data operations , like storing the Email to a Table or creating a Flow in Power automate but that’s not our focus.
Authentication-Channels
Once we are happy with our Copilot we need to make it available to our Channels, specifically to Web Sites. If we select Channels from the left menu we will get a message about Authentication:
So we have to follow a straight forward process to configure Authentication for our Copilot to be available in all Channels. Unless we want users to Sign in we won’t activate that option but you can always change that option. We will enable Entra ID as our Service Provider.
The following part is from Microsoft Documentation
Source:
Configure user authentication with Microsoft Entra ID – Microsoft Copilot Studio | Microsoft Learn
Create an app registration
Sign in to the Azure portal, using an admin account in the same tenant as your copilot.Go to App registrations, either by selecting the icon or searching in the top search bar.
Select New registration and enter a name for the registration.It can be helpful later to use the name of your copilot. For example, if your copilot is called “Contoso sales help,” you might name the app registration “ContosoSalesReg.”Under Supported account types, select Accounts in any organizational directory (Any Microsoft Entra ID directory – Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox).Leave the Redirect URI section blank for now. Enter that information in the next steps.Select Register.After the registration is complete, go to Overview.Copy the Application (client) ID and paste it in a temporary file. You need it in later steps.
Add the redirect URL
Go to Authentication, and then select Add a platform.
Under Platform configurations, select Add a platform, and then select Web.
Under Redirect URIs, enter https://token.botframework.com/.auth/web/redirect and https://europe.token.botframework.com/.auth/web/redirect.
Note
The authentication configuration pane in Copilot Studio might show the following redirect URL: https://unitedstates.token.botframework.com/.auth/web/redirect. Using that URL makes the authentication fail; use the URI instead.
In the Implicit grant and hybrid flows section, turn on both Access tokens (used for implicit flows) and ID tokens (used for implicit and hybrid flows).
Select Configure.
Generate a client secret
Go to Certificates & secrets.In the Client secrets section, select New client secret.(Optional) Enter a description. One is provided if left blank.Select the expiry period. Select the shortest period that’s relevant for the life of your copilot.Select Add to create the secret.Store the secret’s Value in a secure temporary file. You need it when you configure your copilot’s authentication later on.
Tip
Don’t leave the page before you copy the value of the client secret. If you do, the value is obfuscated and you must generate a new client secret.
Configure manual authentication
In Copilot Studio, in the navigation menu under Settings, select Security. Then select the Authentication card.
Select Manual (for any channel including Teams) then turn on Require users to sign in.
Enter the following values for the properties:Service provider: Select Microsoft Entra ID.Client ID: Enter the application (client) ID that you copied earlier from the Azure portal.Client secret: Enter the client secret you generated earlier from the Azure portal.Scopes: Enter profile openid.Select Save to finish the configuration.
Configure API permissions
Go to API permissions.Select Grant admin consent for <your tenant name>, and then select Yes. If the button isn’t available, you may need to ask a tenant administrator to do enter it for you.
NoteTo avoid users from having to consent to each application, a Global Administrator, Application Administrator, or Cloud Application Administrator can grant tenant-wide consent to your app registrations.Select Add a permission, and then select Microsoft Graph.
Select Delegated permissions.
Expand OpenId permissions and turn on openid and profile.
Select Add permissions.
Define a custom scope for your copilot
Scopes allow you to determine user and admin roles and access rights. You create a custom scope for the canvas app registration that you create in a later step.
Go to Expose an API and select Add a scope.
Set the following properties. You can leave the other properties blank.Expand tablePropertyValueScope nameEnter a name that makes sense in your environment, such as Test.ReadWho can consent?Select Admins and usersAdmin consent display nameEnter a name that makes sense in your environment, such as Test.ReadAdmin consent descriptionEnter Allows the app to sign the user in.StateSelect EnabledSelect Add scope.
Source: Configure user authentication with Microsoft Entra ID – Microsoft Copilot Studio | Microsoft Learn
You can always make the Copilot more secure by adding required Authentication and SSO. Read the Documentation to see how you can also add scopes on the Copilot.
Now it’s time to Publish ! Hit the Publish from the menu and publish your Copilot. If any errors occur it will mostly be a Topic. Read carefully our instructions and of course you can make your own routes since you got the concept ! Once Publishing is done, the Channels menu will activate all channels and from the Custom Website you can grab the embedding code and add it in a Post on your WordPress or your Webpage !
You can also see it in the Demo Website if you have not enabled “require secure access”.
Here it is in the actual WordPress using the embedded code:
Closing
With Copilot Studio, building a custom AI assistant and seamlessly integrating it into your WordPress site is simpler than you might have imagined. It empowers you to create a more dynamic and personalized user experience. Whether you’re looking to automate tasks, provide intelligent insights, or offer a more conversational interface on your site, Copilot Studio provides the tools and straightforward process to get you there. Remember, the possibilities are endless. Experiment, refine, and watch as your WordPress site becomes a hub of unparalleled AI-powered engagement!
References
Create Copilots with Copilot StudioManage Topics in Copilot StudioAI-based copilot authoring overviewQuickstart guide for building copilots with generative AIMicrosoft Copilot Studio overview
How to create a CoPilot and use it in your Blog with your blog’s Data IntroToday, we’re going to embark on an exciting journey of creating our very own AI assistant, or ‘Copilot’, using the powerful Copilot Studio. But that’s not all! We’ll also learn how to seamlessly integrate this Copilot into our WordPress site, transforming it into a dynamic, interactive platform. Our WordPress site will serve as the primary data source, enabling our Copilot to provide personalized and context-aware responses. Whether you’re a seasoned developer or a tech enthusiast, this guide will offer a step-by-step approach to leverage AI capabilities for your WordPress site. So, let’s dive in and start our AI adventure!PreparationLuckily we can try the Copilot Studio with a trial license. So head on to https://learn.microsoft.com/en-us/microsoft-copilot-studio/sign-up-individual and find all the details. You will have to sign in with a Microsoft 365 user email. You need a Microsoft 365 Tenant as you understand!For those who are actively using Power Apps i suggest to have a god look at https://learn.microsoft.com/en-us/microsoft-copilot-studio/environments-first-run-experience, so you can grasp the details regarding Environments.CreationOnce we are ready, head over to https://copilotstudio.microsoft.com and you can start working with new Copilots!Let’s create one shall we ? Select the upper left Copilots menu, and New Copilot. Add the name you want and add your BlogSite where the Copilot will get it’s data. Go to the bottom and select Edit Advanced Options and check the “Include lesson topics…”, select a icon and leave the default “Common Data Services Default Solution”. Once you create the Copilot you will find it in the left menu on the Copilots section: ConfigureThe first thing we are going to do is to change the Copilot message for salutation. There is a default one which we can change once we click on the Copilot and inside the chat box of the Copilot message. We will find on the left designer area the predefined message which we will change to our preference. Remember to Save your changes!TopicsThe most important element of our Copilot are the Topics. Topics are the core building blocks of a chatbot. Topics can be seen as the bot competencies: they define how a conversation dialog plays out. Topics are discrete conversation paths that, when used together, allow for users to have a conversation with a bot that feels natural and flows appropriately.In our Copilot we have 3 Topics that we do not need, so from the Topics menu, select each Lesson Topic, from the dotted selection and disable it. You can also delete completely these three unneeded Topics. It is also important to disable Topics that we don’t need otherwise we have to resolve any errors on the existing Topics, since we are making changes. The Topics we need to disable are in grey : Before starting deep we also changed a standard Topic named “Goodbye”. You will understand that we may need to make it simpler so here is a proposed version: As you can see we just changed the end of the Chat with a simple “Thanks for using …”We also propose to change the Greeting to Redirect to the Conversation Start for a unified experience !Let’s create a simple Topic, where the Copilot responds to specific questions. You can add your own phrases as well. From the Topics menu select “Create” – “Topic” – “From Blank” Add the Trigger phrases you wish. We have selected the following :What do you do?, What is your reach?, What can you tell me?Add a node with the Message property and add the text which the Copilot will use to answer. You can add the name of the Copilot by selecting the variable icon inside the node. Add a final node that ends this topic: You can edit the name of your Topic in the upper left corner, and save it ! Before anything you can always test it on the left chat box! Now let’s do something more creative ! Let’s ask the user if they would provide their email so we can send a summary of the conversation ! The Copilot should make it clear that it is optional and should not interrupt the conversation. So the first thing we need to do is to add a new Topic where we can get the user’s email address and store it as a variable. Since the user can request to provide the email later, we can offer this option as well, with the trigger. Here is our Topic: Pay attention to the closing node and the comment. We have added a Redirect to the Greeting Topic, so we can avoid falling in the Loop of the Start Conversation. To do that we add a new node, Topic Management – Go to another Topic. Now let’s build the the request with a condition, by editing the Conversation Start Topic ( the one we edited at the beginning ). From the Topics menu select All and find the Conversation Start Topic. Add a new Node after the Message with a question. We have this text so the user is aware about the options they have:Would you like to provide an email so you can get a summary of our Interaction? It is optional and you can add it later by simply saying “Get my Email”!In this Question Node, select the Multiple Choice options and add the YES and NO possible answers, while saving the answer on a variable. You can rename the variable if you want to. The next node is an “Add a Condition” node and when the answer is YES we send the conversation to the Get User’s Email Topic, while the opposite we send it to the Greeting. Here is our design for the Topic: Save the Topic, and you can test your Copilot on the left Chat box. You will notice that we can’t redirect the user without a validation message. So we can edit the Get User’s Email Topic with a Message Node like this: Now we have the basic idea of the Topics ! Play around and create your paths ! Be careful not to fall under loops and always try the Copilot !We can expand to Power Apps for Data operations , like storing the Email to a Table or creating a Flow in Power automate but that’s not our focus.Authentication-ChannelsOnce we are happy with our Copilot we need to make it available to our Channels, specifically to Web Sites. If we select Channels from the left menu we will get a message about Authentication: So we have to follow a straight forward process to configure Authentication for our Copilot to be available in all Channels. Unless we want users to Sign in we won’t activate that option but you can always change that option. We will enable Entra ID as our Service Provider.The following part is from Microsoft DocumentationSource:Configure user authentication with Microsoft Entra ID – Microsoft Copilot Studio | Microsoft LearnCreate an app registrationSign in to the Azure portal, using an admin account in the same tenant as your copilot.Go to App registrations, either by selecting the icon or searching in the top search bar. Select New registration and enter a name for the registration.It can be helpful later to use the name of your copilot. For example, if your copilot is called “Contoso sales help,” you might name the app registration “ContosoSalesReg.”Under Supported account types, select Accounts in any organizational directory (Any Microsoft Entra ID directory – Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox).Leave the Redirect URI section blank for now. Enter that information in the next steps.Select Register.After the registration is complete, go to Overview.Copy the Application (client) ID and paste it in a temporary file. You need it in later steps. Add the redirect URLGo to Authentication, and then select Add a platform. Under Platform configurations, select Add a platform, and then select Web. Under Redirect URIs, enter https://token.botframework.com/.auth/web/redirect and https://europe.token.botframework.com/.auth/web/redirect. NoteThe authentication configuration pane in Copilot Studio might show the following redirect URL: https://unitedstates.token.botframework.com/.auth/web/redirect. Using that URL makes the authentication fail; use the URI instead.In the Implicit grant and hybrid flows section, turn on both Access tokens (used for implicit flows) and ID tokens (used for implicit and hybrid flows). Select Configure. Generate a client secretGo to Certificates & secrets.In the Client secrets section, select New client secret.(Optional) Enter a description. One is provided if left blank.Select the expiry period. Select the shortest period that’s relevant for the life of your copilot.Select Add to create the secret.Store the secret’s Value in a secure temporary file. You need it when you configure your copilot’s authentication later on. TipDon’t leave the page before you copy the value of the client secret. If you do, the value is obfuscated and you must generate a new client secret. Configure manual authenticationIn Copilot Studio, in the navigation menu under Settings, select Security. Then select the Authentication card. Select Manual (for any channel including Teams) then turn on Require users to sign in. Enter the following values for the properties:Service provider: Select Microsoft Entra ID.Client ID: Enter the application (client) ID that you copied earlier from the Azure portal.Client secret: Enter the client secret you generated earlier from the Azure portal.Scopes: Enter profile openid.Select Save to finish the configuration. Configure API permissionsGo to API permissions.Select Grant admin consent for <your tenant name>, and then select Yes. If the button isn’t available, you may need to ask a tenant administrator to do enter it for you. NoteTo avoid users from having to consent to each application, a Global Administrator, Application Administrator, or Cloud Application Administrator can grant tenant-wide consent to your app registrations.Select Add a permission, and then select Microsoft Graph. Select Delegated permissions. Expand OpenId permissions and turn on openid and profile. Select Add permissions. Define a custom scope for your copilotScopes allow you to determine user and admin roles and access rights. You create a custom scope for the canvas app registration that you create in a later step.Go to Expose an API and select Add a scope. Set the following properties. You can leave the other properties blank.Expand tablePropertyValueScope nameEnter a name that makes sense in your environment, such as Test.ReadWho can consent?Select Admins and usersAdmin consent display nameEnter a name that makes sense in your environment, such as Test.ReadAdmin consent descriptionEnter Allows the app to sign the user in.StateSelect EnabledSelect Add scope.Source: Configure user authentication with Microsoft Entra ID – Microsoft Copilot Studio | Microsoft LearnYou can always make the Copilot more secure by adding required Authentication and SSO. Read the Documentation to see how you can also add scopes on the Copilot.Now it’s time to Publish ! Hit the Publish from the menu and publish your Copilot. If any errors occur it will mostly be a Topic. Read carefully our instructions and of course you can make your own routes since you got the concept ! Once Publishing is done, the Channels menu will activate all channels and from the Custom Website you can grab the embedding code and add it in a Post on your WordPress or your Webpage ! You can also see it in the Demo Website if you have not enabled “require secure access”. Here it is in the actual WordPress using the embedded code: ClosingWith Copilot Studio, building a custom AI assistant and seamlessly integrating it into your WordPress site is simpler than you might have imagined. It empowers you to create a more dynamic and personalized user experience. Whether you’re looking to automate tasks, provide intelligent insights, or offer a more conversational interface on your site, Copilot Studio provides the tools and straightforward process to get you there. Remember, the possibilities are endless. Experiment, refine, and watch as your WordPress site becomes a hub of unparalleled AI-powered engagement!ReferencesCreate Copilots with Copilot StudioManage Topics in Copilot StudioAI-based copilot authoring overviewQuickstart guide for building copilots with generative AIMicrosoft Copilot Studio overview Read More
Speed Networking event online
Hey there
I am organizing an online events where participants can meet ambassadors. The idea is to have 10-15 ambassadors, each in their room, and where participants can log in to the event, see the ambassadors they can talk to, join their room and have a timed conversation (10 minutes) to chat with the ambassador, before being thrown out of the room so someone else can come in.
Any idea how I could set this up on Teams? 😀
Thanks in advance!
Hey thereI am organizing an online events where participants can meet ambassadors. The idea is to have 10-15 ambassadors, each in their room, and where participants can log in to the event, see the ambassadors they can talk to, join their room and have a timed conversation (10 minutes) to chat with the ambassador, before being thrown out of the room so someone else can come in.Any idea how I could set this up on Teams? 😀 Thanks in advance! Read More
AIR Result : Email template modification
Hi,
I want to change the email language for the Automated investigation and response (AIR) after a phishing report.
I found the page where you can set a custom email “Body” and “Footer”. This works, but I also need to change the other parts of the email or at least find a way to translate it in french.
Right now, there’s a mix of english and french (The body and footer I configured) but I need the whole thing to be in french.
I would appreciate a hand on this issue.
Thank you !!
PS : See the screenshot for the part I want to translate.
Hi, I want to change the email language for the Automated investigation and response (AIR) after a phishing report. I found the page where you can set a custom email “Body” and “Footer”. This works, but I also need to change the other parts of the email or at least find a way to translate it in french.Right now, there’s a mix of english and french (The body and footer I configured) but I need the whole thing to be in french.I would appreciate a hand on this issue.Thank you !! PS : See the screenshot for the part I want to translate. Read More
Unable to customize a service schedule
Hi,
I’m unable to customize the hours of a service. Even if displayed in the drop down, I can’t select it.
Previously, when trying to customize the schedule, I would put “No booking” as default and then add a line for the specific schedule I want to offer (Custom hours).
Hi,I’m unable to customize the hours of a service. Even if displayed in the drop down, I can’t select it. Previously, when trying to customize the schedule, I would put “No booking” as default and then add a line for the specific schedule I want to offer (Custom hours). Read More
Reinvent the product owner role with AI in Azure DevOps
In this guest blog post, Asif Sharif, Founder and Chief Technologist of Modern Requirements, describes how DevOps product owners can overcome several challenges by using Copilot4DevOps Plus, an essential AI tool for Azure DevOps.
A recent survey by Scrum Master Toolbox showed the most common problem product owners face is a lack of time. Causes include handling multiple projects, lacking required skills for certain duties, and mixing duties with other roles.
Challenges like these lead to several downstream requirements management issues in a DevOps context, including:
Wasted time because of the lengthy process of requirements completion
Insufficient time for thorough analysis and customer engagement
Incomplete or incorrect requirements because of human error or a skills gap
Employee burnout or dissatisfaction throughout the command chain
These issues create stakeholder dissatisfaction, inaccurate scope, more errors, and higher costs for the company. According to the Project Management Institute, incorrect requirements and poor scope management are key reasons projects fail. In software development, these errors can cause havoc, costing U.S. businesses an estimated $30 billion or more a year.
The costs of these errors increase significantly depending on when the error is caught, so it’s important to detect them early in the project lifecycle.
Product owners tend to use traditional requirements management tools to manage their workloads, but these tools can have steep learning curves, limited features, and difficult onboarding. They typically do not integrate well into a product owner’s workflow, leading to manual copy-pasting that can introduce errors.
Traditional requirements management tools also don’t streamline manual tasks like analyzing requirements, writing user stories, summarizing documents, and identifying compliance gaps. Product owners have been turning to ChatGPT for help with these tasks. But ChatGPT has limitations.
ChatGPT is not enough for product owners
While ChatGPT can generate new requirements from vague descriptions and analyze existing requirements for quality among other tasks, it has several disadvantages:
Good prompting can be hard
AI prompting is a significant advancement in human-machine interaction, but it is a mix of art and science. Two common challenges product owners might face when using ChatGPT are over- or under-specification of prompts and AI interpreting prompts literally. For instance, ChatGPT can misinterpret commands like “give me a brief answer” or “give me credible sources.” Exactly how short is brief? And what determines a source is credible? Additionally, adjusting AI output is also tough and may require switching between AI models and losing chat context, and employees who don’t follow AI elicitation best practices may generate inaccurate or vague responses from the AI.
Workflow disconnection
ChatGPT isn’t integrated with DevOps workflows. A product owner must manually copy instructions into its interface, switch tabs, then paste the results back in. They also might have to take the extra step of posting the answer into a Word document to reformat it before finally pasting it into their ALM. This manual, time-consuming process can mitigate or even reverse the time saving-benefits of using ChatGPT.
AI security concerns
In enterprises, it’s often uncertain who uses personal ChatGPT accounts on sensitive data, and whether they’ve disabled the training from chat data. An enterprise-sanctioned AI tool with a non-data-collecting API is preferred.
An AI tool that is secure by design and provides the benefits of ChatGPT without its drawbacks can solve these challenges. An ideal tool would integrate seamlessly within product owners’ DevOps workflows and have a familiar UI.
AI tailored for product owners
Incorporating AI into DevOps provides a powerful competitive edge. A Forbes poll showed 59 percent of workers thought AI increased their job satisfaction. OMFIF’s study of 5,000 agents showed AI assistance can increase worker productivity by 14 percent in white-collar jobs, particularly with novice and low-skilled workers.
Modern Requirements’ Copilot4DevOps Plus, available in the Microsoft Azure Marketplace, empowers product owners to access the benefits of generative AI within their Azure DevOps workflow.
A simple user interface makes it easy for product owners to get consistent, high-quality results without prompt engineering. It is also integrated directly into Azure DevOps and into the DevOps product owner workflow. Here is how its features match the challenges product owners face:
Product owner challenges
Relevant Copilot4DevOps Plus features
Wasted time because of the lengthy process of requirements completion.
Elicit complete, high-quality requirements and test cases in seconds.
Insufficient time for requirements analysis.
Analyze work item data for quality using the 6C method.
Long requirements documents that are tedious to read.
Summarize high-level requirements into concise, readable segments.
Good prompting on ChatGPT can be hard. Improper prompting reduces output quality and consistency.
Pre-configured prompts help maintain quote quality and consistency. Custom instructions available for further tailoring.
Time-consuming copy-pasting between tabs, which introduces errors.
Seamless integration into the familiar Azure DevOps UI.
Cross-functional communication with distributed teams speaking different languages across the world.
Translate work items and requirements into over 40 languages, enhancing collaboration.
Time-consuming creation of user stories and Gherkin plain text language that balance technical details with clarity.
One-click generation of user stories and Gherkin from requirements.
AI security concerns, use of personal accounts on sensitive data.
Securely handle sensitive data without training on it. Inherits all Azure DevOps, OpenAI, and Azure OpenAI service security protocols and updates.
Copilot4DevOps Plus offers several other powerful features Business Analysts (BAs), Quality Assurance (QAs), developers, and other DevOps professionals can use:
Dynamic prompts: Allows workers to apply tailored prompts to perform actions on selected Azure DevOps queries.
Pseudocode generation: Automatically generates pseudocode in many programming languages to help developers streamline coding tasks.
Test script creation: Generates test scripts in multiple programming languages, significantly reducing the time needed for test preparation.
Better together with Microsoft
Copilot4DevOps Plus takes advantage of several Azure DevOps and Azure Marketplace benefits to drive significant business impact for product owners, including:
Azure OpenAI Service: When users choose to work with GPT-4 or GPT-4o, they get results though the Azure OpenAI Service API. This API typically has lower latency than the OpenAI API, and the data submitted is not transferred to OpenAI.
Inherited Azure DevOps security and compliance benefits: By inheriting Azure DevOps’ security and compliance benefits, Copilot4DevOps Plus ensures your data is protected and easily accessible. For instance, you have access to the same SSO capabilities. Microsoft has also obtained more than 100 compliance certifications, including ISO 27001, SOC 2, FedRAMP, PCI DSS, HIPAA, CCPA, Australia IRAP, and EU GDPR.
Familiar UI/integrated into Azure DevOps: Most enterprise customers use Microsoft products in some form, including Microsoft 365. The integration of Copilot4DevOps Plus into the familiar Azure DevOps interface makes it easy for teams to adopt and use Copilot4DevOps Plus.
Microsoft Azure Consumption Commitment benefits: Copilot4DevOps is available in the Azure Marketplace, meaning customers may be able to apply their Microsoft Azure Consumption Commitment (MACC) credits toward buying licenses, reducing upfront expenses, and streamlining the procurement process.
AI empowers product owners to do more
Product owners face significant time constraints managing multiple projects and overlapping responsibilities, which often lead to erroneous or incomplete requirements. These issues can result in dissatisfied stakeholders, failing projects, and additional costs. Addressing these challenges is crucial for improving productivity and project success.
Copilot4DevOps Plus addresses these issues to speed up project execution, improve the quality of outcomes, and reduce errors. It is available in the Azure Marketplace and Visual Studio Marketplace.
Please visit the Copilot4DevOps Plus website for more information or to request a demo.
Microsoft Tech Community – Latest Blogs –Read More
How to Fix Polyspace CodeProver Orange Overflow errors
Hello,
I am getting the below Orange Overflow error due to operator *
How to fix these Overflow errors as we know this operation is not going to generate a result bigger than the datatype of int32 ?Hello,
I am getting the below Orange Overflow error due to operator *
How to fix these Overflow errors as we know this operation is not going to generate a result bigger than the datatype of int32 ? Hello,
I am getting the below Orange Overflow error due to operator *
How to fix these Overflow errors as we know this operation is not going to generate a result bigger than the datatype of int32 ? codeprover, overflow, *operator MATLAB Answers — New Questions
Why are the final values for velocity and acceleration from bsplinepolytraj() always equal to zero?
When creating splines using bsplinepolytraj() the last values for the x and y component of velocity and acceleration are always zero. Here’s an example from the documentation:
% Interpolate with B-Spline
% Create waypoints to interpolate with a B-Spline.
wpts1 = [0 1 2.1 8 4 3];
wpts2 = [0 1 1.3 .8 .3 .3];
wpts = [wpts1; wpts2];
L = length(wpts) – 1;
% Form matrices used to compute interior points of control polygon
r = zeros(L+1, size(wpts,1));
A = eye(L+1);
for i= 1:(L-1)
A(i+1,(i):(i+2)) = [1 4 1];
r(i+1,:) = 6*wpts(:,i+1)’;
end
% Override end points and choose r0 and rL.
A(2,1:3) = [3/2 7/2 1];
A(L,(L-1):(L+1)) = [1 7/2 3/2];
r(1,:) = (wpts(:,1) + (wpts(:,2) – wpts(:,1))/2)’;
r(end,:) = (wpts(:,end-1) + (wpts(:,end) – wpts(:,end-1))/2)’;
dInterior = (Ar)’;
% Construct a complete control polygon and use bsplinepolytraj to compute a polynomial with the new control points
cpts = [wpts(:,1) dInterior wpts(:,end)];
t = 0:0.01:1;
[q, dq, ddq, ~] = bsplinepolytraj(cpts, [0 1], t);
The values for
disp(dq(:,end))
and
disp(ddq(:, end))
I feel like this is wrong. Why are these values zero and how can I get a non-zero answer?When creating splines using bsplinepolytraj() the last values for the x and y component of velocity and acceleration are always zero. Here’s an example from the documentation:
% Interpolate with B-Spline
% Create waypoints to interpolate with a B-Spline.
wpts1 = [0 1 2.1 8 4 3];
wpts2 = [0 1 1.3 .8 .3 .3];
wpts = [wpts1; wpts2];
L = length(wpts) – 1;
% Form matrices used to compute interior points of control polygon
r = zeros(L+1, size(wpts,1));
A = eye(L+1);
for i= 1:(L-1)
A(i+1,(i):(i+2)) = [1 4 1];
r(i+1,:) = 6*wpts(:,i+1)’;
end
% Override end points and choose r0 and rL.
A(2,1:3) = [3/2 7/2 1];
A(L,(L-1):(L+1)) = [1 7/2 3/2];
r(1,:) = (wpts(:,1) + (wpts(:,2) – wpts(:,1))/2)’;
r(end,:) = (wpts(:,end-1) + (wpts(:,end) – wpts(:,end-1))/2)’;
dInterior = (Ar)’;
% Construct a complete control polygon and use bsplinepolytraj to compute a polynomial with the new control points
cpts = [wpts(:,1) dInterior wpts(:,end)];
t = 0:0.01:1;
[q, dq, ddq, ~] = bsplinepolytraj(cpts, [0 1], t);
The values for
disp(dq(:,end))
and
disp(ddq(:, end))
I feel like this is wrong. Why are these values zero and how can I get a non-zero answer? When creating splines using bsplinepolytraj() the last values for the x and y component of velocity and acceleration are always zero. Here’s an example from the documentation:
% Interpolate with B-Spline
% Create waypoints to interpolate with a B-Spline.
wpts1 = [0 1 2.1 8 4 3];
wpts2 = [0 1 1.3 .8 .3 .3];
wpts = [wpts1; wpts2];
L = length(wpts) – 1;
% Form matrices used to compute interior points of control polygon
r = zeros(L+1, size(wpts,1));
A = eye(L+1);
for i= 1:(L-1)
A(i+1,(i):(i+2)) = [1 4 1];
r(i+1,:) = 6*wpts(:,i+1)’;
end
% Override end points and choose r0 and rL.
A(2,1:3) = [3/2 7/2 1];
A(L,(L-1):(L+1)) = [1 7/2 3/2];
r(1,:) = (wpts(:,1) + (wpts(:,2) – wpts(:,1))/2)’;
r(end,:) = (wpts(:,end-1) + (wpts(:,end) – wpts(:,end-1))/2)’;
dInterior = (Ar)’;
% Construct a complete control polygon and use bsplinepolytraj to compute a polynomial with the new control points
cpts = [wpts(:,1) dInterior wpts(:,end)];
t = 0:0.01:1;
[q, dq, ddq, ~] = bsplinepolytraj(cpts, [0 1], t);
The values for
disp(dq(:,end))
and
disp(ddq(:, end))
I feel like this is wrong. Why are these values zero and how can I get a non-zero answer? bsplinepolytraj, spline, curve fitting, robotics, trajectory MATLAB Answers — New Questions
Show Roll up Date in Delivery Plan based on Sprint Planning
Hello,
I am currently managing a T&T with the JIRA Instance from the client. In JIRA you can create a delivery plan (JIRA Plans) that automatically updates the duration of the parent Work items (Initiative / Epic) based on the Stories which are assigned to the sprint.
This means the team “just” assigns their stories to the current and future sprints and you will automatically get a complete Delivery Plan for the project.
My question:
Is it possible in “ADO Delivery Plans” to have the Highlevel Work items (Initiative, Epic, Feature) automatically span over multiple sprints based on the child stories and the sprints that they are assigned to without manually setting Start- and End Dates for the Work items (Initiative, Epic, Feature).
See Example from JIRA below – the dashed lines show that the date for the initiative and the Epics are based on the stories and their sprint assignment.
Thank you very much for your input!
NOTE: Maybe there is an extension that we can buy to make this happen.
Hello, I am currently managing a T&T with the JIRA Instance from the client. In JIRA you can create a delivery plan (JIRA Plans) that automatically updates the duration of the parent Work items (Initiative / Epic) based on the Stories which are assigned to the sprint. This means the team “just” assigns their stories to the current and future sprints and you will automatically get a complete Delivery Plan for the project. My question:Is it possible in “ADO Delivery Plans” to have the Highlevel Work items (Initiative, Epic, Feature) automatically span over multiple sprints based on the child stories and the sprints that they are assigned to without manually setting Start- and End Dates for the Work items (Initiative, Epic, Feature). See Example from JIRA below – the dashed lines show that the date for the initiative and the Epics are based on the stories and their sprint assignment. Thank you very much for your input! NOTE: Maybe there is an extension that we can buy to make this happen. Read More
Q.B has encountered a problem sending your usage data after new update?
I’m facing an issue with Q.B displaying the message “Q.B has encountered a problem sending your usage data.” What does this mean, and how can I fix it?
I’m facing an issue with Q.B displaying the message “Q.B has encountered a problem sending your usage data.” What does this mean, and how can I fix it? Read More
Auto-scroll an Excel workbook
Hi Guys,
Looking for some assistance, I am hooking up a mini PC to a Samsung Smart TV to display an Excel spreadsheet, bascially highlights what projects we have on and some info in a table.
The issue is, it won’t all fit on one page, is there anyway of the workbook auto scrolling to the bottom of the table and then starting from the top again?
I’m presuming you can through VBA but not used it too much so if someone has a guide or a method of doing this so it looks professional in the office please let me know. Just incase this matters too, this document will be stored on a sharepoint site and opened live, not sure if the VBA carries over but users will be updating this table via their own machines and hopefully the one on the TV will update automatically.
Thanks
Hi Guys, Looking for some assistance, I am hooking up a mini PC to a Samsung Smart TV to display an Excel spreadsheet, bascially highlights what projects we have on and some info in a table. The issue is, it won’t all fit on one page, is there anyway of the workbook auto scrolling to the bottom of the table and then starting from the top again? I’m presuming you can through VBA but not used it too much so if someone has a guide or a method of doing this so it looks professional in the office please let me know. Just incase this matters too, this document will be stored on a sharepoint site and opened live, not sure if the VBA carries over but users will be updating this table via their own machines and hopefully the one on the TV will update automatically. Thanks Read More
remove password form ms excel file in ms office professional 2021
Hi Friends,
I want to totally remove the password from my excel file. Please let me know how to go about it. Thanks
Hi Friends, I want to totally remove the password from my excel file. Please let me know how to go about it. Thanks Read More
Schedule report chart editing
Hello Guys,
I am trying to edit the chart to hide the resource legends that have no value or the ones that are not used. The bar chart itself is very small but the unused legends are taking most of the space in the chart. How can i fix it?
Hello Guys, I am trying to edit the chart to hide the resource legends that have no value or the ones that are not used. The bar chart itself is very small but the unused legends are taking most of the space in the chart. How can i fix it? Read More
migrate files from one drive
hi all,
I’m looking for the best way to migrate over thousands of files from one drive to SharePoint. Could you please help.
hi all,I’m looking for the best way to migrate over thousands of files from one drive to SharePoint. Could you please help. Read More
Error when trying to sign the contract Microsoft AI Cloud Partner Program
We are unable to sign the contract due to an error. Please take a look at the screenshot. Can I ask for help in resolving this?
We are unable to sign the contract due to an error. Please take a look at the screenshot. Can I ask for help in resolving this? Read More
Azure Monitor Alert Alerts: Log Search Alerts with Dynamic Thresholds
Azure Monitor introduces Dynamic Thresholds also for Log Search Rules, revolutionizing how you set up log and monitor search alerts. Say goodbye to manual threshold tuning and hello to intelligent, adaptable monitoring.
Here’s why dynamic thresholds are a game-changer:
Automatic Calibration: Dynamic thresholds calculate the right alert levels for you. They adjust as your system evolves, ensuring timely alerts without false positives.
Smart Learning: Dynamic thresholds analyzing historical data, learning patterns and trends. They adapt to your application’s unique behavior, whether it’s daily spikes or weekly lulls.
Alerting At Scale: Create a single rule for any multi dimensions alert. Dynamic thresholds define different alert threshold band for every dimension combination.
Effortless Setup: Just enable dynamic thresholds, no need to have a specific knowledge of the data to setup alert thresholds.
Dynamic thresholds empower you to stay proactive, minimize downtime, and keep your systems running smoothly.
Use Cases
Here you can find use cases for dynamic threshold:
Use Case: Monitoring CPU Behavior in Virtual Machines
Background: Users can now calculate guest VM metrics using the Perf table in Log Analytics, enabling the creation of a single alert rule for all your VMs across different regions using dimensions. Previously, customers could only set up dynamic threshold metric alerts for host CPU usage.
Goal Statement: The primary goal of this use case is to monitor the CPU behavior within virtual machines (VMs) and detect irregular patterns that may indicate performance issues.
Scenario definitions:
Problem Identification:
The team wants to ensure optimal performance and identify any CPU-related issues promptly.
Use Case Description:
The CPU utilization data is being collected from each VM.
The system using the model analyses the CPU behavior over time, looking for deviations from the expected pattern.
Deviations may include sudden spikes, prolonged high usage, or unexpected drops in CPU utilization.
Trigger:
Azure monitor triggers a log search alert once the CPU is higher than the regular patterns, which means that the alert is out of the upper boundaries.
Benefits:
Early detection of CPU-related problems helps prevent performance degradation.
Proactive monitoring ensures efficient resource utilization.
Improved system stability and responsiveness.
In Perf table there is an option to monitor other “Counter Value” instead of CPU. Examples can be found here.
ARM template example: {
“$schema”: “https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#”,
“contentVersion”: “1.0.0.0”,
“parameters”: {
“scheduledqueryrules_PerfDemoRule_name”: {
“defaultValue”: “PerfDemoRule”,
“type”: “String”
},
“workspaces_PerfDemoWorkspace_externalid”: {
“defaultValue”: “/subscriptions/XXXX-XXXX-XXXX-XXXX/resourceGroups/XXXX/providers/Microsoft.OperationalInsights/workspaces/PerfDemoWorkspace”,
“type”: “String”
}
},
“variables”: {},
“resources”: [
{
“type”: “microsoft.insights/scheduledqueryrules”,
“apiVersion”: “2024-01-01-preview”,
“name”: “[parameters(‘scheduledqueryrules_PerfDemoRule_name’)]”,
“location”: “eastus2”,
“properties”: {
“displayName”: “[parameters(‘scheduledqueryrules_PerfDemoRule_name’)]”,
“severity”: 3,
“enabled”: true,
“evaluationFrequency”: “PT5M”,
“scopes”: [
“[parameters(‘workspaces_PerfDemoWorkspace_externalid’)]”
],
“targetResourceTypes”: [
“Microsoft.Compute/virtualMachines”
],
“windowSize”: “PT5M”,
“criteria”: {
“allOf”: [
{
“query”: “Perf | where CounterName == “Available MBytes” and InstanceName == “_Total” | project TimeGenerated, CounterValue, Computer,_ResourceIdn”,
“timeAggregation”: “Average”,
“metricMeasureColumn”: “CounterValue”,
“dimensions”: [],
“resourceIdColumn”: “_ResourceId”,
“operator”: “GreaterThan”,
“alertSensitivity”: “High”,
“criterionType”: “DynamicThresholdCriterion”,
“failingPeriods”: {
“numberOfEvaluationPeriods”: 1,
“minFailingPeriodsToAlert”: 1
}
}
]
},
“autoMitigate”: false
}
}
]
}
Use Case: Monitor Behavior Network in Application Insight Virtual Machines
Goal Statement: The primary goal of this use case is to monitor the network write behavior within virtual machines (VMs) and detect irregular patterns that may indicate performance issues or anomalies.
Scenario Definitions:
Problem Identification:
The team aims to ensure optimal performance and promptly identify any network write-related issues within their VMs.
Use Case Description:
The system periodically collects network write data from each VM using dynamic thresholds models.
The models analyze the network write behavior over time, specifically looking for deviations from the expected pattern.
Deviations may include sudden spikes, prolonged high usage, or unexpected drops in network write activity.
Trigger:
Azure monitor triggers a log search alert when network write behavior exceeds the regular patterns, indicating that the alert is beyond the upper boundaries.
Benefits:
Early detection of network write-related problems helps prevent performance degradation.
Proactive monitoring ensures efficient resource utilization.
Improved system stability and responsiveness.
ARM template example:
{
“$schema”: “https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#”,
“contentVersion”: “1.0.0.0”,
“parameters”: {
“scheduledqueryrules_LogSearch1ActionGroup_name”: {
“defaultValue”: “LogSearch1ActionGroup”,
“type”: “String”
},
“components_ACME_Portal_externalid”: {
“defaultValue”: “/subscriptions/XXXX-XXXX-XXXX-XXXX/resourceGroups/XXXX-XXXX/microsoft.insights/components/ACME-Portal”,
“type”: “String”
}
},
“variables”: {},
“resources”: [
{
“type”: “microsoft.insights/scheduledqueryrules”,
“apiVersion”: “2024-01-01-preview”,
“name”: “[parameters(‘scheduledqueryrules_LogSearch1ActionGroup_name’)]”,
“location”: “eastus”,
“properties”: {
“displayName”: “[parameters(‘scheduledqueryrules_LogSearch1ActionGroup_name’)]”,
“severity”: 3,
“enabled”: true,
“evaluationFrequency”: “PT5M”,
“scopes”: [
“[parameters(‘components_ACME_Portal_externalid’)]”
],
“targetResourceTypes”: [
“microsoft.insights/components”
],
“windowSize”: “PT30M”,
“criteria”: {
“allOf”: [
{
“query”: “InsightsMetrics| where Origin == “vm.azm.ms”| where Namespace == “Network” and Name == “WriteBytesPerSecond”| extend NetworkInterface=tostring(todynamic(Tags)[“vm.azm.ms/networkDeviceId”])|summarize AggregatedValue = avg(Val) by bin(TimeGenerated, 15m), Computer, _ResourceId, NetworkInterface,
“timeAggregation”: “Average”,
“metricMeasureColumn”: “AggregatedValue”,
“dimensions”:[
{
“name”: “Computer”,
“operator”: “Include”,
“values”: “[[parameters(‘computersToInclude’)]”
},
{
“name”: “NetworkInterface”,
“operator”: “Include”,
“values”: “[[parameters(‘networkInterfacesToInclude’)]”
}
],
“operator”: “GreaterThan”,
“alertSensitivity”: “High”,
“criterionType”: “DynamicThresholdCriterion”,
“resourceIdColumn”: “_ResourceId”,
“failingPeriods”: {
“numberOfEvaluationPeriods”: 1,
“minFailingPeriodsToAlert”: 1
}
}
]
},
“autoMitigate”: false
}
}
]
}
How to create Dynamic Threshold ARM template
You can easily change a log search rule (with a static threshold) template to be a dynamic one by making the following changes:
In the “allOf” condition:
Addition of “criterionType”: “DynamicThresholdCriterion”
Addition of “alertSensitivity”.
Removal of “threshold” parameter.
Update api-version in template to be “2024-01-01-preview”
Summary
In the world of monitoring and alerting, precision matters. Enter Dynamic Thresholds—a game-changer for Log Search Rules. Here’s why they’re essential:
Anomaly Detection:
Dynamic thresholds rely on advanced algorithms to calculate expected performance ranges based on historical data.
They identify anomalies—sudden spikes, drops, or irregular patterns—that warrant attention.
Efficiency Boost:
No more manual threshold tuning. Dynamic thresholds adapt automatically.
Scale alerts across hundreds of dimension combinations series with a single rule.
Stay Ahead:
Early detection prevents performance degradation.
Proactively manage resource utilization for improved stability and responsiveness.
Dynamic thresholds empower you to be proactive, responsive, and precise.
Microsoft Tech Community – Latest Blogs –Read More
How do I get run time or system time of my Speedgoat target computer in R2020b?
I’m upgrading from R2019a to R2020b and I can’t find analogous blocks to the "Elapsed Time" and "Time Stamp Delta" blocks to get run time or clock time from my Simulink Real-Time (SLRT) target computer.I’m upgrading from R2019a to R2020b and I can’t find analogous blocks to the "Elapsed Time" and "Time Stamp Delta" blocks to get run time or clock time from my Simulink Real-Time (SLRT) target computer. I’m upgrading from R2019a to R2020b and I can’t find analogous blocks to the "Elapsed Time" and "Time Stamp Delta" blocks to get run time or clock time from my Simulink Real-Time (SLRT) target computer. MATLAB Answers — New Questions