To officially generate a Confirmation ID, you must use Microsoft's built-in :

Many websites claim to host "Confirmation ID Generators." These tools typically bypass Microsoft’s validation servers. Using these tools often violates the Microsoft Services Agreement and can lead to the software being deactivated in future updates. Security and Legal Risks

When you activate Microsoft Office 2016 without an internet connection (or choose telephone activation), the process works like this: