How to complete the Contributor License Agreement (CLA) for Microsoft on GitHub
If you want to contribute to an open source project from Microsoft, you will have to push some changes to GitHub, with a pull request. If the modification you push is minor, your pull request will be flagged with the tag 'cla-not-required' and you will have nothing to do, but your pull request may be assigned the tag 'cla-required', in which case you will have to complete the Contributor License Agreement to allow Microsoft to merge your work.
There are a lot of links and posts that explain how to complete the Contributor License Agreement (CLA) for Microsoft on GitHub but 90% of them are wrong or obsolete, even some Microsoft links, so you can spend hours searching for what you have to do, while the procedure takes less than a minute!
To complete the Contributor License Agreement (CLA) for Microsoft (and only for them, because the procedure can be different for each organization), you simply have to log in to .NET Foundation Contribution License Agreement with your GitHub account and fill in the form.

Once the form is submitted, you're done! You will receive a PDF document with the agreement by email for your records.

For GitHub, you have nothing to do, your pull request will be updated automatically with the label 'cla-signed' by the .NET Foundation bot.

Yes, it's that simple :) when you know what you have to do ...

