Temporary Access Pass is a Microsoft Entra ID feature that, among other things, improves security when registering devices. If it is not managed properly, letting any user register any device without control can lead to unauthorised access.
In this article we will enable Temporary Access Pass and configure a Conditional Access policy that requires it to register or join devices to Entra ID. This helps you:
- Reduce the risk of uncontrolled registrations.
- Keep control of your device inventory.
- Strengthen a Zero Trust security model in Microsoft 365.
Step 1: Enable the Temporary Access Pass authentication method
Go to the Microsoft Entra admin center and open Authentication methods → Policies.
There you will find the Temporary Access Pass method, which you need to enable.

When you edit it, you can configure:
- The users or groups to include or exclude.

- The minimum and maximum lifetime of the pass (for example, between 1 and 8 hours).
- The length of the code (recommended minimum: 8 characters).
- Whether it is one-time use or reusable while it is valid.

Step 2: Create an authentication strength with TAP
In the Entra portal, go to Conditional Access → Authentication strengths.

Create a new strength called Temporary Access Pass and select Temporary Access Pass (one-time use) as the required method.

Step 3: Create a Conditional Access policy for device registration
Next, define a policy that requires the authentication strength you created when devices are registered. Recommended steps:
- Go to Conditional Access → Policies → New policy.
- Give it a descriptive name, for example Require TAP to register devices.
- Under Users, select who the policy applies to. We recommend starting with a test group.

- Under Target resources, choose User actions → Register or join devices.

- Under Access controls → Grant, select Require authentication strength and choose the strength you created earlier (TAP).

- Save the policy in Report-only mode for initial testing and, later, switch it to On.

Step 4: Validate the policy
When a user tries to register a new device, they will be asked for their Temporary Access Pass instead of other authentication methods. This way, only users authorised by the IT team can complete the process, and unwanted registrations are prevented.

Final recommendations
- Issue Temporary Access Passes only through authorised administrators.
- Keep their lifetime as short as possible.
- Apply the policy to a pilot group first before extending it.
- Combine this measure with other policies, such as requiring a registered or compliant device to access Microsoft 365 resources.

