If using Windows 11 Home, this will not work, it needs to be Windows 11 Pro or above.
First, access the settings app:

Choose Accounts:

Scroll down and select “Access work or school”:

Click ‘Connect”:

Under Alternate actions, select “Join this device to Microsoft Entra ID”

Sign in with your work credentials:

Confirm the organisations details are correct and then click “Join”

Read the confirmation message and then click “Done” when complete:
