Create Temporary Access Pass
Create a Temporary Access Pass for this user
Description
Creates a Temporary Access Pass (TAP) for this user, so they can sign in and set up their authentication methods without a password. Any existing pass is removed first and the new pass is shown in the runbook output. Optionally the user gets an email with the pass, in German for usage location DE and otherwise in English.
Activate user notification
This runbook sends an email to the user with the temporary access pass. To enable this, you need to activate user notification in the runbook customization.
The json configuration for this is as follows:
"rjgit-user_security_create-temporary-access-pass": {
"parameters": {
"UserName": {
"Hide": true
},
"NotifyUser": {
"Default": true,
"Hide": true
},
"EmailFrom": {
"Hide": true
},
"ServiceDeskDisplayName": {
"Hide": true
},
"ServiceDeskEmail": {
"Hide": true
},
"ServiceDeskPhone": {
"Hide": true
},
"ServiceDeskPortalUrl": {
"Hide": true
},
"ServiceDeskTicketUrl": {
"Hide": true
},
"CallerName": {
"Hide": true
}
}
}For more information on how to customize runbooks, please refer to the Runbook Customization Guide.
Setup regarding email sending
Sending an email report is optional and only happens when a recipient (EmailTo) is provided. The sender address is taken from the RJReport.EmailSender tenant setting.
This runbook sends emails using the Microsoft Graph API. To send emails via Graph API, you need to configure an existing email address in the runbook customization.
See the RealmJoin Report Settings documentation for details on all available settings.
Email branding
The report email honors the optional RJReport.Branding.* tenant settings:
Header and footer image – public HTTPS URLs, PNG/JPEG/GIF, max. 200 KB each
Footer link – target of the footer image
Accent and text color – 6-digit hex values, e.g.
#0052cc
When these settings are not configured, the default RealmJoin graphics and colors are used. An image that cannot be downloaded or validated, or an invalid color value, never prevents the report email – the corresponding default is used instead.
Setup instructions and image requirements: Email branding.
Location
User → Security → Create Temporary Access Pass
Full Runbook name
rjgit-user_security_create-temporary-access-pass
Details
Version
1.4.0
Required modules
RealmJoin.RunbookHelper (>= 0.8.10)
Schedulable
no
Permissions
Application permissions
Type: Microsoft Graph
UserAuthenticationMethod.ReadWrite.All
Deletes existing Temporary Access Passes and creates the new one
User.Read.All
Reads the user's mail and usage location via /users/{UPN} for output and notification
Mail.Send (optional — feature: Email notification)
Mails the new Temporary Access Pass to the user when NotifyUser is enabled
Parameters
UserName
User principal name of the user the runbook acts on. Set by the portal from the selected user.
Required
true
Default Value
Type
String
Hidden in portal
yes (preset via runbook customization)
LifetimeInMinutes
How long the pass stays valid, between 60 and 480 minutes.
Required
false
Default Value
240
Type
Int32
OneTimeUseOnly
A one-time pass works for a single sign-in; otherwise it can be reused until it expires.
Required
false
Default Value
True
Type
Boolean
NotifyUser
Whether the user is emailed the new pass. Preset in the runbook customization.
Required
false
Default Value
False
Type
Boolean
Hidden in portal
yes (preset via runbook customization)
EmailFrom
Sender address of the notification email. Taken from the tenant setting RJReport.EmailSender.
Required
false
Default Value
Type
String
Hidden in portal
yes (preset via runbook customization)
BrandingHeaderImageUrl
Header image of the report email (HTTPS URL, PNG/JPEG/GIF, max 200 KB). Taken from the tenant setting RJReport.Branding.HeaderImageUrl; the default RealmJoin header is used when empty.
Required
false
Default Value
Type
String
Hidden in portal
yes (preset via runbook customization)
BrandingFooterImageUrl
Footer image of the report email (HTTPS URL, PNG/JPEG/GIF, max 200 KB). Taken from the tenant setting RJReport.Branding.FooterImageUrl; the default RealmJoin footer is used when empty.
Required
false
Default Value
Type
String
Hidden in portal
yes (preset via runbook customization)
BrandingFooterLink
Link behind the footer image of the report email. Taken from the tenant setting RJReport.Branding.FooterLink; realmjoin.com is used when empty.
Required
false
Default Value
Type
String
Hidden in portal
yes (preset via runbook customization)
BrandingAccentColor
Accent color of the report email as a 6-digit hex value. Taken from the tenant setting RJReport.Branding.AccentColor; the RealmJoin default is used when empty or invalid.
Required
false
Default Value
Type
String
Hidden in portal
yes (preset via runbook customization)
BrandingTextColor
Text color of the report email as a 6-digit hex value. Taken from the tenant setting RJReport.Branding.TextColor; the RealmJoin default is used when empty or invalid.
Required
false
Default Value
Type
String
Hidden in portal
yes (preset via runbook customization)
ServiceDeskDisplayName
Service desk name shown in the email. Taken from the tenant setting RJReport.ServiceDesk_DisplayName.
Required
false
Default Value
Type
String
Hidden in portal
yes (preset via runbook customization)
ServiceDeskEmail
Service desk email address shown in the email. Taken from the tenant setting RJReport.ServiceDesk_EMail.
Required
false
Default Value
Type
String
Hidden in portal
yes (preset via runbook customization)
ServiceDeskPhone
Service desk phone number shown in the email. Taken from the tenant setting RJReport.ServiceDesk_Phone.
Required
false
Default Value
Type
String
Hidden in portal
yes (preset via runbook customization)
ServiceDeskPortalUrl
Link to the service desk portal shown in the email. Taken from the tenant setting RJReport.ServiceDesk_PortalUrl.
Required
false
Default Value
Type
String
Hidden in portal
yes (preset via runbook customization)
ServiceDeskTicketUrl
Link to the ticket for this request, shown in the email. Preset per run or in the runbook customization; empty means no link.
Required
false
Default Value
Type
String
Hidden in portal
yes (preset via runbook customization)
Last updated
Was this helpful?