Retrieve azure update management status using REST API - azure

I'm having trouble with retrieving azure update management details programmatically. I couldn't find any REST API or CLI method to get the data from update management view. There were only powershell scripts.
These are the details I want to retrieve via REST API

As shown in below screenshot, currently I see only below highlighted REST API's that are related to update management. Here is the document reference for the same.
If these REST API's doesn't help to accomplish your requirement then if interested you may share it as feature request in this uservoice or feedback forum.
In general, Azure feature team would check feasibility of a feature request, prioritize against existing feature backlog, add in roadmap as appropriate and would announce and/or update the related Azure document once a feature request is addressed.
On the other hand, with the help of this references, you may find the same information in update management related kusto tables which you can query with the help of this REST API.
Here is the reference link for the same issue which was addressed in Microsoft Q&A

Related

Ability to onboard custom Ibiza Extensions

Currently based on https://github.com/Azure/portaldocs custom Azure Blades can only be developed internally within Microsoft Product Groups, however they are using React Templates to provide a customized view for custom resources. Ibiza Extensions (Codename for the Portal) would be a great extension on top of custom resource providers.
Is there any capability to onboard resources from organizations, which published their service through the marketplace and/or partners after going through the official onboarding process?
I've checked through the https://github.com/Azure/portaldocs documentation to understand the process and details on how to get engaged. The repository however does not intake any issues to ask there.
Currently we don't have any plans around extension development in our roadmap in the near future. In general, we would prioritize against existing backlog, add in roadmap as appropriate and would announce and/or update the related Azure document once any feature request is addressed.

Programmatically updating answer for an unanswered question in Custom Question Answering

I have created a custom question answering project using Microsoft Conginitive Services and deployed the same.
Now I would like to create an UI where an user can see the unanswered questions and update the knowledge base with appropriate answer using the UI itself.
From the deployment details, I am able to extract the Ocp-Apim-Subscription-Key. But I am little confused about the appropriate way of API call in my UI to track and update the unanswered questions.
Could not find many write-up or examples regarding this. Please guide me regarding the same.
It depends on the questions answering resource type you are using, as this service has evolved.
Azure Cognitive Service for Language (end of 2021)
This is the newest version of QnA Maker (as of late 2021), now called "Custom question answering" being part of Azure Cognitive Services for Language.
This service has a better offering in terms of API:
Service documentation is here
API documentation here
The "active learning" feature is offered through Language Studio portal (see doc).
But if you want something custom, you might be interested in the Authoring API: programmatically, you could use "Get QnAs" operation will give you all QnAs, and the RetrieveQnaRecord object included in the response contains a SuggestedQuestionsCluster object which could lead to interesting feedbacks to add.
QnA Maker (v4.0)
QnA Maker 4.0 has a REST API documented here.
In addition, you can directly check some calls using the API exposition in the right region. Example for West US here
=> For this service, there is no "feedback" solution exposed. The API allows to update a knowledge base, but you will not have an operation providing unanswered questions.

Azure DevOps - Create a work item from incoming email

I'm in the process of setting up an in-house Azure DevOps environment. But I'm stuck at a point where I need to set up an email integration.
Question: is it possible within Azure DevOps to create a work item (in general/specific to a project) upon receiving an email?
Trigger: Users report issues via a generic email address (like support email)
Manage: Azure DevOps to capture this email (monitor inbox of this generic email address)
Output: A new work item is created with the contents/subject from the captured email.
Note: Issues could either be a bug, minor usability or other supports
I did look into MS Power Automate using flow. But not ideal in my
case
Searched market place for a possible plugin. But couldn't find one
which does this
Thanks in advance for any help or direction.
Thanks you for all fellow contributors who suggested alternative approach. Unfortunately, these suggestions doesn't solve my concern at its level and hence I raised a feature request in Azure DevOps Server forum. You may find the request here and please vote it if you think it is relevant to you.
The easy way is to use the TFS Work Items from Outlook tool.
It's give you the ability to create a work item from outlook and also create rules for create work items automatically (with templates).
Note: the name is TFS Work Items but it should works also with ADO.
Azure DevOps does not contain feature to create work items through email. You can try:
TeamBox (pop3)
As you mentioned MS Power Automate or Azure Logic App.
Create your solution with existing resources. As example: Mail.dll - .NET email component (IMAP, POP3, S/MIME), Create Work Item in Team Services Through API
As Shamrai Aleksander mentioned above, for now Azure Devops Service doesn't support creating WITs from email.
Not sure if above extensions shared by Shamrai Aleksander and Shayki Abramczyk meet your needs well, I think you can also consider posting a feature request if you do want such feature comes true in Azure Devops Service. Since it's a good idea, feel free to suggest a feature to User Voice Forum of ADO.
Your requirements seems to be similar to this one which is posted in 2019, I recommend you can post a new one to share your feedback. Also, share the link in your question and members who interested in that would vote for you! Hope it helps.
This is a good use case for a Logic App. You can create an app that triggers on a new email, using the Outlook connector, and then create a work item using the DevOps connector.
You can also add logic in the middle (using the Control connector and variables, for instance), to assess the content of the email and dynamically set the target project, work item type, or tags.
You can user Microsoft Power Automate to do that.
You activator would be receiving an email and the rest of the workflow is up to you. It creates issues correctly and there is even a workaround to add files to the issue with power automate.

Azure "get support request" API

I want to get the support requests that were added in the Azure portal under 'Help+Support' section by making an API call. I checked the REST API documentation but could not find one. Is there a REST API to get the support requests added in Azure portal?
It is not available yet, leave your feedback on this existing post here -https://feedback.azure.com/forums/266794-support-feedback/suggestions/16723438-automated-support-ticket-management for the Azure owners to review and consider this request for the future release.
This is now available, please take a look at the Documentation here:
https://learn.microsoft.com/en-us/rest/api/support/supporttickets/create

Azure Log Analytics - new Search REST API

Azure announced the ability to upgrade Azure Log Analytics workspace recently. It comes with a new query language (https://docs.loganalytics.io/index). But after the upgrade their Search REST API (https://learn.microsoft.com/en-us/azure/log-analytics/log-analytics-log-search-api) isn't working anymore. I wasn't able to find a way to execute new Search Queries via REST. I would imagine that it would be similar to AppInsights API (https://dev.applicationinsights.io/).
It also seems like they have actual API but no documentation as of yet, because Microsoft Flow has ability to integrate and execute Search Queries with the upgraded workspace (https://learn.microsoft.com/en-us/azure/log-analytics/log-analytics-flow-tutorial).
Any help in pointing on how to execute new Search API via REST is greatly appreciated.
Thanks
Documentation for new REST API wasn't available when this question was posted. Here is the MS response:
https://social.msdn.microsoft.com/Forums/azure/en-US/0c044c41-6642-4bb0-9a61-64d6f6b8b042/new-log-analytics-search-rest-api?forum=opinsights

Resources