You can programmatically create TAPs via the Graph API's /authentication/temporaryAccessPassMethods endpoint: https://learn.microsoft.com/en-us/graph/api/resources/temporaryaccesspassauthenticationmethod?view=graph-rest-beta
Keep in mind this is still in beta, so not suitable for production apps.
Temporary Access Pass Self Service
Huynh, Phuong Thao
81
Reputation points
Hi Microsoft,
I see you roll out the TAP (Temporary Access Pass). However, if we want to implement TAP feature but self-service instead of having an admin to create the TAP, is there any available source code to support us with that requirement?
Thank you,
Thao
Accepted answer
-
Vasil Michev 111.8K Reputation points MVP
2022-03-04T19:22:55.97+00:00