So you want to sign up for Azure Artifact Signing (Formerly Trusted Signing)?

:: rambling, rant, windows, tutorial

I’ve been working for a start-up the past few months, helping design and launch a product. Because I’m an idiot (because I prioritized certain design decisions that required this), we’re shipping a local application that runs on a persons computer rather than a stupid web app. (I have a new found appreciation for why everything is a stupid web app.)

It’s been a long time since I’ve had to deploy software on Windows, so as I was researching how to do this, I discoverd we probably need to sign the binary so Windows won’t complain too hard (see SmartScreen). Naturally, Microsoft offers the solution to this problem they created: pay them $9.99/m for Azure Artifact Sigining. Great, okay, I guess I’ll just do that. The other options are more complicated and more expensive.

Hah. Hahahah. You fool. You absolute moron. One does not simply sign up for Azure Artifact Signing. I’ve spent well over 12 hours trying to sign up for this, and I have only finally made progress, although I expect another couple hours after identify verification completes.


If you start from the QuickStart documentation, you are immediately met with a list of prerequisites complete with caveats such as:

Public Trust certificates are available to organizations in the United States, Canada, the European Union, the United Kingdom, Australia, New Zealand, Japan, South Korea, Singapore, Switzerland, Norway, and Israel. Individual developers must be located in the United States or Canada.

and

The billing account must have an Account Type of Individual. The legal name and sold-to address on the billing account must match the information on the government-issued ID used for identity validation.

And told to create 2 .. accounts? products? subscriptions?

To complete this quickstart, you need:

  • A Microsoft Entra tenant ID.

For more information, see Create a Microsoft Entra tenant.

  • An Azure subscription.

If you don’t already have one, see Create an Azure subscription before you begin.

This is a lie. You need one additional account, and you better not try to create those other two in the order specified by the QuickStart.

To get started, you need to create a Microsoft Account (MSA). (I have no idea what the S stands for.) That MSA, as far as I can tell from the above caveats and making these mistakes, must be:

  1. An individual, personal account, of a responsible party for the organization, but not an organization or business account.
  2. Created with the correct region, i.e., US, Canada, etc.

Don’t make a mistake in one of these steps. Bad things will happen. Make sure the region is the same as the region as your billing information and credit card will be. Make sure you give a birth date that makes the account an adult. You probably want a new one, and you’ll need the email address to be a “personal” email address, as in, not on the company’s domain, or bad things might happen. We used a Gmail address created for the company.

Next, you want to create an Azure subscription, which involves signing up for what looks a lot like a new account while already logged into your account.

I know it says an Entra tenant ID (formerly Azure Active Directory (AD), and still called that in various placed; if you see “directory” or “AD”, it means Entra (formerly AD)), but you actually never make an Entra (formerly Azure Active Directory (AD)) account at all. In fact, if you login to the Azure portal using your MSA (before creating an Azure subscription), and try to follow the steps listed to create a Entra (formerly Azure Active Directory (AD)) ID, you’ll get this error:

You can’t actually ignore the error, and if you try to sign in again, you’ll get an error and be unable to login. See the error mentions Azure AD (futurely, Entra), because you don’t have an Entra (formerlly Azure Active Directory (AD)) tenant, and therefore aren’t allowed to create an Entra (formerly Azure Active Directory (AD)) tenant ID, or even open pages related to Entra (formerlly Azure Active Directory (AD)) and if you try you get logged out and are unable to log back in due to some kind of bug related to your missing Entra (formerlly Azure Active Directory (AD)) tenant ID, I think.

Okay so now you make an Azure account. I know you thought you already had one, since you logged into the Azure portal, but you don’t. You have a MSA, which logs you in to the Azure portal, but not an Azure account.

I know the instructions also say to create an Azure subscription, and give you directions on how to do that, but please DO NOT follow them. You will immediately run into the previously seen error and be logged out and be unable to log back in (possibly until you clear your cache or open a a private window or, strangely, explicitly log out). That’s because creating the subscription the way the instruction specify requires adding your subscription to your Entra (formerly Azure Active Directory (AD)) tenant, which doesn’t exist.

To create an Azure account, first ignore the instructions on the QuickStart and other documentation about how to create an Azure. While logged in to your MSA, go to https://azure.microsoft.com/en-ca/pricing/purchase-options/azure-account, and then sign up for a Pay As You Go account, with which you’re able to try Azure for free. You won’t be charged.

Now if you sign up for a Try Azure for free account, most of this will work, until it suddenly stops working, and you’re forced to upgrade, for free, to a Pay As You Go account. You’re welcome to take that approach too; that’s what I did. Because I didn’t know what the hell I was doing and the instructions were wrong.

ANYWAY, you’ll need a credit card that matches the regions of your MSA when you signed up, so I hope you did that correctly, because otherwise you’re complete blocked here and there’s no way to use a credit card in a different region. This is true even if you sign up for the Try Azure for free account, even though it’s free, but your credit card won’t be charged. Of course, if you sign up for a Pay as You Go account, your credit card also won’t be charged, and you can try Azure for free.

Anyway,

If you messed that up, please go to https://login.live.com and change your region in your MSA, then come back and try to sign up for a Azure subscription again. Changing your region may or may not be possible. If you gave a fake birth date that makes the MSA a child, you won’t be able to change it, for example. (Like one of my engineers did for some reason. Anyway he’s my parent now and has given me consent to change my birth date. This is real software that real professional developed and use every day.)

If all that went okay, you now have a Entra (formerly Azure Active Directory (AD)) tenant and tenant ID, congratulations! Wait what? I thought were were creating an Azure subscription? Yeah, we were, but in the process, you get an Entra (formerly Azure Active Directory (AD)) tenant. In fact, before you have an Azure subscription, on a fresh MSA, you don’t have an Entra (formerly Azure Active Directory (AD)) ID, and if you try to create one, you can’t, because you need an Entra (formerly Azure Active Directory (AD)) ID to access https://entra.microsoft.com, or to access the Entra (formerly Azure Active Directory (AD)) management subsystem on the Azure Portal that lets you create an Entra (formerly Azure Active Directory (AD)) ID. Are you following this?

Now, we can start on the Azure Artifact Signing. Following the QuickStart, the next step is to “Register the Artifact Signing resource provider”. You don’t need to do this at all. Skip straight to the next step.

We’ll now Create an Artifact Signing account. Go ahead and follow the QuickStart guide, but actually, you probably don’t need to because this part is fairly self explanatory.

Next, you need to validate your identity, so make an identity validation request. You can follow the QuickStart guide here, but please note:

You can’t create an identity validation request if you aren’t assigned the appropriate role.

Right now, your Entra (formerly Azure Active Directory (AD)) has exactly 1 user, you, who is the owner, and therefore has permissions to control everything in the account.

However, you don’t have permission to make an identity validation request. You do have permission to assign yourself the role that gives you permissions to make an identity validation request. Please assign yourself that role now. Also assign yourself the Artifact Signing Identity Verifier role, you’ll need that later.

You can now start the identity verification request. Everything you enter here might end up publicly visible, so make sure you use public-facing organization addresses. I hope you’ve already requested your D-U-N-S number for your company, ’cause you’ll need it here. If you don’t have one, that can take some weeks, so go apply and come back to this later. You’ll also need to download some stupid fucking app and verify the government ID of the responsible party for all of this, which is probably the person to whom this personal MSA is registered. I’m not really sure, I made the CEO do it.

Identity verification might take some time, but after that goes through, you can create your certificate profile. I haven’t managed that step but at this point things seem to be going smoothly.

If you ran into unexpected errors, well, I wish I could help you. Depending on exactly when and where you run into errors, you won’t get any help from any kind of support. For example, the error we saw earlier meant I couldn’t file a support ticket, since I’d need to login to my Azure account, and have an Entra (formerly Azure Active Directory (AD)) ID, to access the support ticket system, which I guess is associated with the Entra (formerly Azure Active Directory (AD)) tenant that doesn’t exist on all MSAs.

At various points, the stupid fucking AI chatbot will pop up and ask if you need support. This is a trap. Don’t talk to it. Assuming it works at all (it crashed at least once while I was trying to use it), eventually it will tell you it can’t help, and recommend you contact support. It then redirects you to the following webpage:

Yeah that’s right: it says it cannot help you so recommends you contact support by opening the support chatbot that it is and cannot help you.

The real solution, of course, is quite obvious. Microsoft must be destroyed, software must be free, become a FOSS radical or at least use Apple, which was significantly easier to deal with.

PS: the typos are how you know an AI didn’t write this.