Table

EMWebApplication

Web applications

Setup of web applications that electronic messages can connect to. The key is the application name. It holds the web addresses, scope, token settings and request headers. Client IDs, secrets and tokens are kept in encrypted containers. It also links to format and model mappings.

Table name
EMWebApplication
Module
Electronic messages
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
NameIdx
Key fields
Name
Model
RegulatoryServices

Fields (34)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
NameName of the web application.String (50)
EMWebApplicationName
YesEMWebApplicationEntityEMWebApplicationSecurityRoleEntityEMWebApplicationSupplementaryHeadersEntityand 1 more
AccessTokenReceiptDateTimeDate and time the access token was obtained or refreshed.UtcDateTime
EMWebApplicationAccessTokenReceiptDateTime
NoNone
AccessTokenValidityPeriodTime in seconds for which the access token is valid.Integer
EMWebApplicationAccessTokenValidityPeriod
NoNone
AuthorisationURLPathPath part of the address used for authorisation.String (255)
URL
NoEMWebApplicationEntity
AuthorizationFormatMappingIDPoints to the format mapping used for authorisation.Int64
ERFormatMappingID
NoERFormatMappingTable.RecIdEMWebApplicationEntity
AuthorizedByID of the user who authorised access to the application.String
UserId
NoNone
BaseURLBase web address of the application.String (255)
URL
NoEMWebApplicationEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionText describing the web application.String (255)
Description255
NoEMWebApplicationEntity
EncryptedAccessTokenAccess token, stored encrypted.Container
CryptoBlob
NoNone
EncryptedAuthorizationCodeAuthorisation code, stored encrypted.Container
CryptoBlob
NoNone
EncryptedClientIdClient ID of the application, stored encrypted.Container
CryptoBlob
NoNone
EncryptedClientSecretClient secret of the application, stored encrypted.Container
CryptoBlob
NoNone
EncryptedCodeChallengeCode challenge of the sign-in exchange, stored encrypted.Container
CryptoBlob
NoNone
EncryptedCodeVerifierCode verifier of the sign-in exchange, stored encrypted.Container
CryptoBlob
NoNone
EncryptedNonceNonce value of the sign-in exchange, stored encrypted.Container
CryptoBlob
NoNone
EncryptedRefreshTokenRefresh token, stored encrypted.Container
CryptoBlob
NoNone
EncryptedServerTokenServer token, stored encrypted.Container
CryptoBlob
NoNone
EncryptedStateState value of the sign-in exchange, stored encrypted.Container
CryptoBlob
NoNone
ImportTokenModelMappingIDPoints to the model mapping used to import the token.Int64
ERModelMappingID
NoERModelMappingTable.RecIdEMWebApplicationEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RedirectURLWeb address to which the user is redirected.String (255)
URL
NoEMWebApplicationEntity
ScopeScope of access granted to the application.String (255)
EMWebApplicationScope
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TokenRefreshedDateTimeDate and time the access token was obtained or refreshed.UtcDateTime
EMWebApplicationTokenRefreshedDateTime
NoNone
TokenURLPathPath part of the address used to get tokens.String (255)
URL
NoEMWebApplicationEntity
WebRequestAcceptValue sent in the Accept header of web requests.String (200)
EMWebRequestAccept
NoEMWebApplicationEntity
WebRequestContentTypeContent type sent with web requests.String (200)
EMWebRequestContentType
NoEMWebApplicationEntity

Indexes (1)

  • NameIdxReplacement key

    Name

    Unique, alternate key.

Relations (2)

Each relation joins EMWebApplication to another table on the fields shown.

  • AuthorizationFormatMapping → ERFormatMappingTable

    Join on AuthorizationFormatMappingID = ERFormatMappingTable.RecId

    Many EMWebApplication records → zero or one ERFormatMappingTable record

  • ImportTokenModelMapping → ERModelMappingTable

    Join on ImportTokenModelMappingID = ERModelMappingTable.RecId

    Many EMWebApplication records → zero or one ERModelMappingTable record

Get this data out

Tables are not exposed directly. These public entities read from EMWebApplication; use one of them in Power BI, Power Platform or a data management project.

Need help with EMWebApplication in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk