How to approve/ reject extension requests in Azure DevOps

In this post details how requests can be made for extensions to be added to Azure DevOps, and how to approve/ reject them.

What are extensions?

Extensions are add-ons which you can use and add to extend Azure DevOps. Extensions get published to the Visual Studio Marketplace, where they can be kept private, or shared publicly. Anyone can publish extensions from developers to third parties, to Microsoft. There are ways in which you can evaluate whether extensions are safe to use within the organisation, before deciding to install them.

Evaluating an extension

Each extension comes with the following information to help you determine whether it is safe to use it, such as:

  • Top Publisher badge: The publisher has demonstrated commitment to its customers and the Marketplace through excellent policies, quality, reliability, and support. For more information, go to Top Publisher.
  • Q & A: The Q & A section of published extensions may answer questions you may have. Also, they’re a good mechanism to engage with the extension’s publisher(s) to have a meaningful dialogue to make yourself comfortable. Use the Q & A information to understand the development, testing, and security practices the publisher follows. It also gives you a sense of the publisher’s responsiveness.
  • Ratings & reviews: Ratings and reviews indicate how others perceive the offering.Privacy, license, and support policies​​​​​​​: See if the publisher has provided them and if they meet your needs or concerns. For more information, go to Safety information.

Approve or reject an extension

  • When an extension is requested, an email will be sent to the Azure DevOps organisation Project Collection Administrators for approval. It will look similar to this:
  • A link in the email will take approvers to this page within Dev Ops to review and approve/ reject the extension
  • Press Approve
  • To reject, press the three dots … and press Reject
  • You will be re-directed to the Marketplace to install the extension. Check the correct organisation is selected in the drop-down menu and press Install.
  • Once installed, you will receive a success message and be directed back to DevOps.

Advertisement

How to grant admin consent to applications in Azure

In this post we look at how to set up the admin consent workflow in Azure, which fixes an issue with the Samsung Email app requiring admin consent, giving users a way to request access to applications and allowing global admins the ability to grant tenant-wide consent.

The scenario

I had an issue recently in my organisation where after a recent OS update, users began to report receiving a “need admin approval” message appear when attempting to access mail through the native Samsung email application.

The “Need admin approval” message that began appearing via the Samsung email app.

So the first thing I checked out was the Enterprise application in Azure Active Directory just to do a once-over of the settings there. However, there was no Samsung Email app to be found!

Fail #1 – user consent settings

So after noticing there was no Samsung email app to check the configuration of, still in Enterprise applications I went to > Consent and permissions > User consent settings.

From here I changed the user consent for applications part to Allow user consent for apps from verified publishers, and also set the five permissions classed as low impact as recommended.

Update the user consent settings to allow user consent for apps from verified publishers.

For me, this did not work.

I then spoke to Microsoft support who recommended configuring the admin consent workflow (preview), which gives end users a way to request access to applications that require admin consent.

There is full documentation from Microsoft here on how to configure the admin consent workflow, but I’ll include the steps I took to enable it below:

  • Navigate to Azure Active Directory. You need to be a global administrator to complete these steps
  • Open Enterprise applications > under Manage, select User settings
  • Under Admin consent requests (Preview), set Users can request admin consent to apps they are unable to consent to to Yes
Configure admin consent workflow settings
Set Users can request admin consent to apps they are unable to consent to to Yes under Admin consent requests (preview).
  • Now you need to set the users who are to review the admin consent requests (these need to also have the global administrator, cloud application administrator, and application administrator roles)
  • Enable or disable email notifications to the reviewers when a request is made
  • Enable or disable reminder email notifications to the reviewers when a request is about to expire
  • Specify how long requests stay valid
  • Press Save

Changes can take up to an hour to take effect – for me it took closer to 45 minutes. After this time, I tested the Samsung email app again and the message changed to requiring approval:

This then notifies the user that their request has been sent, and an email is sent to the request administrator(s). Then in Enterprise Applications, under Activity if you click on Admin consent requests (Preview) you will see Samsung Email listed, as well as being able to see who requested it on the Requested by tab.

From here, I just pressed Approve, which naturally approved the request,. Once approved, the request is cleared from the admin consent requests list.

Granting tenant-wide admin consent to an application

Microsoft documentation here talks about needing to grant admin consent for the applications to be available tenant-wide. It’s really easy to do as in my example, the Samsung Email app is now listed under Enterprise Applications, so all I needed to do was:

  • Go back to Enterprise applications
  • Select the Samsung Email application
  • Select Permissions and then click Grant admin consent
  • Agree with the permissions the application requires and grant consent
Samsung Email application appearing in Enterprise applications.
Grant tenant-wide admin consent for the Samsung Email application.