Building a Custom Preference Centre Using Marketing Forms in Dynamics 365 Customer Insights – Journeys


Introduction

Dynamics 365 Customer Insights – Journeys provides a built-in Preference Centre that allows customers to manage their marketing communication preferences.

However, business requirements sometimes call for a more customised experience, such as capturing unsubscribe reasons, additional comments, or providing greater control over the preference management interface.

In this article, we will explore how to use a standalone Marketing Form as a custom Preference Centre while continuing to leverage the native Customer Insights – Journeys consent management framework.

We will configure a Compliance Profile, create a Marketing Form with native Purpose and Topic consent controls, enable prefill, and integrate the form with marketing emails and real-time journeys.

We will also validate how customer preference changes are reflected in Contact Point Consent records.

Understanding the Consent Management Components

Before configuring the custom Preference Centre, it is useful to understand the main components involved:

  • Compliance Profile: Defines the consent and preference management configuration, including the preference management experience presented to customers.
  • Purpose: Represents a broad category of consent, such as Commercial communications.
  • Topic: Provides more granular control over the types of communication customers want to receive, under a Purpose.
  • Contact Point Consent (CPC): Stores a customer’s consent status for a specific communication channel, email address, Purpose, or Topic.

In our implementation, we will reuse the existing Commercial Purpose and its associated Topics through the Compliance Profile. The Marketing Form will use these native consent controls to display and update the customer’s preferences.

Configuring the Compliance Profile

The first step is to create a Compliance Profile that will be used by our custom Preference Centre.

Create a new Compliance Profile, select the option With external link

The Unsubscribe URL for contact points to the standalone Marketing Form that customers will use to manage their preferences.

Enable Use previously captured consent and select the existing Compliance Profile. This allows the new profile to reuse the existing Purpose and Topic configurations instead of creating duplicate

Creating the Standalone Marketing Form

With the Compliance Profile configured, the next step is to create a Marketing Form that will serve as our custom Preference Centre.

Add the Contact Email field and map it to the standard Email field on the Contact table. Enable prefill, and set it to read-only so customers can see the email address associated with their preferences without accidentally modifying it.

Next, also add the native Purpose consent control to the Marketing Form.

The following settings are important for the Purpose Consent control :

  • Compliance profile: Select the external Compliance Profile created earlier.
  • Purpose: Select Commercial.
  • Required: Off
  • Prefill: Enable this to display the customer’s previously captured consent status.
  • Checked by default: Keep this disabled. We want to display the customer’s actual consent preference rather than automatically selecting the checkbox.
  • When checked: Select Opt user in to the purpose.
  • Update user’s consent for: Select Email. Leave Text unchecked because this form is intended to manage email communication preferences.

These settings ensure that the Purpose control is connected to the correct Compliance Profile and updates email consent.

Next, add a Topic consent control and associate it with the Commercial Purpose. Configure its prefill, required, and email consent settings in the same way as the Purpose control.

Here also, as the Topics are native consent controls, submitting the form updates the corresponding Topic-level Contact Point Consent records rather than simply storing checkbox values in Contact fields.

Important: The Commercial Purpose and its Topics work together in the consent hierarchy. A customer opting out of the parent Purpose can affect all associated Topics. We will validate this behaviour later as part of our testing.

Next, add the Submit button to the form.

Configure Audience and Prefill settings

Open the form settings and configure the following options.

1. Prefill

Enable Prefill so that the form can display the existing Contact’s email address and previously captured consent preferences.

2. Audience

Under Audience, configure the following options:

  • Duplicate contact handling: Use a rule to match an existing contact.
  • Contact matching rule: Update contact using email.
  • Update matched contact with submitted data: Yes.
  • Create a new contact if there was no match: No.
  • Ignore empty values: On.

Disabling Create a new contact if there was no match prevents the form from creating new Contact records when the submitted email address does not match an existing Contact.

3. Consent

Under Consent, keep Ignore Opt-Outs disabled.

This is important for preference management because customers must be able to opt out by unchecking a Purpose or Topic and submitting the form.

With these settings, the form can identify an existing Contact, display their current preferences, and process their consent changes without creating new Contact records.

Note: The setting Update matched contact with submitted data is enabled. This allows submitted form data to update the matched Contact. Since our Email field is read-only, customers cannot change the email address through this form. Other mapped fields, if added later, may still update the Contact.

With our form configured, Publish it, and create the standalone page for it.

After publishing the form, copy its standalone URL.

Navigate back to the Compliance Profile created earlier and update the Unsubscribe URL for contacts under the External link section with this URL.

This connects the Compliance Profile to our custom Marketing Form, allowing customers to access the custom preference management experience through the configured unsubscribe link.

Integrating the Custom Preference Centre with Marketing Emails

Now that the Compliance Profile and standalone Marketing Form are configured, the next step is to integrate the custom Preference Centre with marketing emails.

Open or create a new marketing email in Customer Insights – Journeys and configure its compliance settings.

Set the following:

  • Compliance profile: Select the custom external Compliance Profile created earlier.
  • Purpose: Select Commercial.
  • Topic: Leave this blank for general Commercial communications.

Next, add a button to the email that customers can use to access the custom Preference Centre.

Configure the button as follows:

  • Button label: Manage my preferences
  • URL: Standalone Marketing Form URL
  • Link alias: manage-my-preferences

The button directs customers to the standalone Marketing Form, where they can view and update their existing communication preferences.

With this configuration, the marketing email uses the custom Compliance Profile, while the preference management button takes customers to our standalone Marketing Form.

Prepare the Marketing Email

Specify the Subject for the marketing email and change its status to Ready to Send.

Once the email is ready, we can use it in a real-time journey to test the custom Preference Centre integration.

Create a Test Segment

Before creating the real-time journey, create a Contact-based segment to identify the test Contact.

In this example, the segment uses the condition Email contains and a matching email value to identify the Contact. Once the segment is ready to use, it can be selected as the audience for the journey.

Create a Segment-Based Real-Time Journey

Create a new journey and configure it as follows:

  • Journey name: Test Preference Journey
  • Journey type: Segment-based
  • Audience: Select the Test preference segment created in the previous step.
  • Frequency: Select A one-time journey with a static audience.
  • Time zone: Select the appropriate time zone for the journey.

Set the start date and time, then create the journey.

Using a one-time journey with a static audience ensures that the test Contact is included in this execution without newly added audience members joining later.

Once the journey is created, add an Email action to the journey and select the marketing email prepared earlier.

In this example, the journey starts with the Test preference segment, sends the Sample Preference Email, and then reaches the Exit node.

Publish the journey.

Before testing the custom Preference Centre, let’s look at the existing communication consent for one of the Contacts included in our segment.

The Contact currently has the following consent records:

Send the Marketing Email Through the Journey

Once the journey is published, the configured marketing email is sent to the Contact included in the test segment.

After receiving the email, the customer can select the Manage my preferences button or the standard Unsubscribe links to access the standalone Marketing Form configured as our custom Preference Centre.

Verify the Custom Preference Centre

Click the Manage my preferences button in the received marketing email to open the standalone Marketing Form.

The form displays the customer’s email address and existing communication preferences automatically.

In our test, the following values were prefilled:

  • Email: Automatically populated with the Contact’s email address.
  • Commercial (Purpose): Checked, indicating Opted In.
  • Newsletter (Topic): Checked, indicating Opted In.

This confirms that the standalone Marketing Form successfully retrieves and displays the existing consent preferences when accessed through the actual marketing email.

Now let’s uncheck Newsletter (Topic) while keeping Commercial (Purpose) checked, and click Submit.

Verify the Updated Consent in Dataverse

To verify the form submission, navigate to the Contact Point Consent records for the test Contact.

After unchecking Newsletter (Topic) and submitting the form, the consent records show the following:

  • Commercial (Purpose): Remains Opted In.
  • Newsletter (Topic): Updated to Opted Out.

This confirms that the standalone Marketing Form successfully updates the corresponding Contact Point Consent record without changing the customer’s consent for the parent Purpose.

Conclusion

In this article, we explored how to configure a custom Preference Centre using a standalone Marketing Form in Dynamics 365 Customer Insights – Journeys.

The main reason for choosing this approach is the flexibility it provides when the standard Preference Centre experience does not fully meet the business requirements.

Although the out-of-the-box Preference Centre also supports branding, CSS customization and custom JavaScript, building the experience using a standalone Marketing Form gives us the flexibility to extend it beyond managing communication preferences.

For example, we can:

  • Add additional Contact fields to capture customer information or feedback alongside communication preferences.
  • Combine consent management with other form inputs and business-specific requirements.
  • Configure form submission behaviour and validation based on the requirements of the business.
  • Extend the experience using the standard Marketing Form capabilities.

At the same time, by using native Purpose and Topic consent controls, we continue to use the existing Contact Point Consent framework in Dataverse rather than implementing consent updates separately.

We also verified the end-to-end flow, including prepopulating existing preferences from a marketing email and updating the corresponding consent records when a customer changes their preferences.

This approach provides a useful alternative when the requirements go beyond what a conventional consent-management experience needs to offer.

Hope it helps..

Advertisements

Add Unlicensed Users to Activity Recipient Fields in Dynamics 365 (Dataverse)


In Dynamics 365 and Dataverse, users generally need a Dataverse or Power Apps license to be added to activity recipient fields.

However, there are scenarios where we only want to include someone in an activity without giving them access to the Dynamics 365 application. For example, adding an employee to an email’s To or Cc field, including someone as an appointment attendee, or associating a person with a phone call activity.

Microsoft has introduced a feature (currently in preview) that addresses this requirement: Activities for users without licenses.

With this feature enabled, administrators can allow users who have an active Microsoft Entra ID account in their tenant to be added to activity recipient fields without requiring a Dataverse or Power Apps license.

Let’s look at how it works and how to enable it.

What does this feature do?

By default, Dynamics 365 only allows users with an appropriate Dataverse or Power Apps license to be added to activity recipient fields.

After enabling this feature, users with an active Microsoft Entra ID account can be selected in activity recipient fields, even if they don’t have a Dataverse or Power Apps license.

The feature supports the following activity fields:

  • Email: To, Cc, and Bcc.
  • Appointment: Required Attendees and Optional Attendees.
  • Phone Call: Call From and Call To.

One important distinction: these users can be added as activity recipients, but they don’t get access to Dynamics 365 applications.

Prerequisites

Before enabling this feature, we need to make sure we have the following permissions:

  1. Microsoft Entra ID: A Privileged Role Administrator is required to grant users read access to the Microsoft Entra ID table.
  2. Power Platform: A Power Platform Administrator is required to enable the feature in the Power Platform admin center.

Additionally, all users in the tenant need read permission on the Microsoft Entra ID table.

We can provide this permission in either of the following ways:

  • Update the existing security roles assigned to users and grant Read permission on the Microsoft Entra ID table.
  • Create a custom security role with Read permission on the Microsoft Entra ID table and assign it to all users.

Here we can see that System Administrator role has the Organization level access to the Microsoft Entra ID table.

Enable Activities for users without licenses.

Follow these steps to enable the feature:

Log in to Power Platform Admin Center > Environment > Settings > Product > Features – Locate “Activities for users without licenses” and enable the checkbox – “Add anyone with an Entra ID to an activity’s recipients fields”

Once enabled, users with an active Microsoft Entra ID account can be selected in the supported activity recipient fields.

How does it work?

The feature uses the Microsoft Entra ID table, which is a virtual Dataverse table that displays the current list of active Microsoft Entra ID users.

When we search for and select an unlicensed user in an activity recipient field, Dataverse creates a corresponding unlicensed-user record in the environment.

This record is created with a Disabled status.

This is important because the user can now be associated with activities without being provisioned as an active Dynamics 365 application user.

The user can be included in activity recipient fields, but cannot sign in to or run Dynamics 365 applications.

E.g., we have an unlicensed user – Adele Vance – if we search for the user in the Phone Call’s Call To field, it will return “No records found.”

After enabling this feature and providing the user with Read access to the Microsoft Entra ID table (or if the user is a System Administrator, who already has that access), we can see the user listed there.

On creating the Phone call record, we can see the user record created in the Environment.

What happens when the user gets a license later?

Another interesting aspect of this feature is what happens when an unlicensed user is subsequently assigned a license.

Microsoft automatically updates the user to a licensed user.

The user can then access the application based on their assigned security roles and permissions.

More importantly, existing activities associated with that user remain linked to the same user record. There is no need to migrate or convert the user record or update the associated activities.

Conclusion

This feature provides a useful option for organizations that want to include employees in Dynamics 365 activities without assigning them a Dataverse or Power Apps license solely for that purpose.

It is particularly useful for email recipients, appointment attendees, and phone call activities where the person needs to be associated with an activity but doesn’t need access to the Dynamics 365 application.

Reference:

Add users without licenses to activity recipient fields (preview) – Microsoft Learn

Hope it helps..

Filtered View Security: Adding Filter-Based Access to Existing User/ team owned Tables (Dataverse / Dynamics 365)


In the previous post, we looked at Filtered Record Ownership, where filters become the primary mechanism for record access. In this post, we will look at a related capability: adding filter-based security to an existing User/Team-owned table.

Filtered Record Ownership: A New Approach to Row-Level Security (Dataverse / Dynamics 365)

What is Filtered View Security?

Suppose we already have a User/Team-owned Store table and want to give a Test User 1 access to additional records based on a business condition, such as City = Christchurch.

Instead of changing ownership, sharing individual records, or creating another team, we can add a Record Filter and grant access to that filter through a security role.

The important difference: the existing ownership and security model remains in place. Filter-based security adds another way to grant access.

Our Store Example

We will use a custom table called Store. Unlike the previous example, this table is created with Record ownership = User or team.

We have the following Stores record.

Currently, Test User 1 has access to only the records owned by him, as he has user-level access to the Store table.

The Requirement

Test User 1 should be able to access all stores in Christchurch, even when those records are owned by another user.

For example, Store D is owned by User B, but because its City is Christchurch, Test User 1 should receive additional Read access to it through the filter.

Before the Filter

StoreCityOwnerTest User 1
Store AChristchurchTest User 1✓
Store BWellingtonUser B✗
Store CAucklandUser B✗
Store DChristchurchUser B✗
Store EAucklandTest User 1✓

Configuration Steps

1. Create the Store table

Create the Demo Store table and select User or team for Record ownership. Save the table and add the required City column.

2. Add sample records

Create a few Store records with different City values and assign them to different users.

3. Create the Record Filter

Create a Record Filter that identifies the records that should receive additional access. Example filter: City = Christchurch. The filter can be created using the appropriate FetchXML condition. Advanced Find can also be used to build the condition and download the FetchXML.

4. Create the Entity Record Filter

Create an EntityRecordFilter and associate the Christchurch Store filter with the Store table.

5. Configure the Security Role

Create or update a security role and grant the required filter privilege. For our first test, grant Read access to the Christchurch Store filter.

6. Assign the role

Assign the filter security role to Test User 1 and test the Store table using that user’s account.

The Result

After assigning the filter role, Test User 1 keeps the access they already had through the normal ownership model and receives additional access to records where City = Christchurch.

StoreCityOwnerTest User 1 after filter
Store AChristchurchTest User 1✓ Existing access
Store BWellingtonUser B✗
Store CAucklandUser B✗
Store DChristchurchUser B✓ Filter access
Store EAucklandTest User 1✓ Existing access

This is the key point of the experiment: the filter did not replace ownership. It added access to matching records.

Filtered View Security vs a View

A normal Dataverse view controls which records are displayed. Filter-based security controls which records the user is allowed to access.

Normal ViewFiltered View Security
Controls what is displayedControls record access
Does not grant security accessCan grant additional access
Used for presentation/navigationUsed for row-level security

A Few Important Points

  • The existing User/Team ownership model remains in place.
  • Filter-based security can add access to matching records.
  • Multiple authorized filters can contribute to a user’s access.
  • Filter privileges can be configured for operations such as Read, Write, Create, and Delete.
  • Filter design can affect query performance because filter permissions are evaluated with queries.
  • The feature is currently a Preview capability.

Conclusion

Filtered View Security gives us another option for row-level access in Dataverse. Instead of changing ownership or sharing records individually, we can use a business condition to provide additional access.

In our Store example, Test User 1 continued to use the normal ownership model while gaining access to all Christchurch stores through a filter. This makes the capability particularly interesting for scenarios where access needs to follow attributes stored in the data.

As this is a Preview capability, it is best evaluated in a non-production environment before considering it for a production solution.

Microsoft Reference

Add filtered view security to record ownership tables (preview)

Hope it helps..

Advertisements

Filtered Record Ownership: A New Approach to Row-Level Security (Dataverse / Dynamics 365)


Dataverse has traditionally provided User/Team and Organization ownership. Filtered Record Ownership (Preview) introduces another approach: access can be determined by filter conditions on the data rather than by a record owner.

What is Filtered Record Ownership?

With traditional ownership, we ask: “Who owns this record?” With filtered ownership, we can ask: “Which records should this user be allowed to access?”

For example, a Store table could contain City values such as Auckland, Wellington, and Christchurch. A security filter could grant an Christchurch user access only to records where City = Christchurch.

Conceptually:

Record → Filter → Security Role → User → Access

Microsoft documents filter privileges for Create, Read, Write, Delete, Append, and Append To operations. Filtered ownership tables do not have record owners and therefore cannot use normal Assign or Share operations.

Our Example

We will use a simple custom table called Demo Store (created with Record Ownership = Filtered)

Configuration Steps

1. Create the table

Go to Power Apps → Solutions → New table → Table (advanced properties). Set Record ownership to Filtered (preview), then save the table.

2. Add sample records

Create a few records with different City values. For example: Auckland, Wellington and Christchurch.

3. Create the Record Filter

Create a Record Filter with a FetchXML condition such as City = Christchurch. The Record Filter defines which rows qualify for access. We can use Advanced Find or Fetch XML Builder to generate the FetchXML.

Below we have specified the filter as City = Christchurch.

 4. Create the Entity Record Filter

Create an EntityRecordFilter and associate the Record Filter with the Demo Store table.

5. Configure the Security Role

Grant the required filter privilege, such as Read, to a security role. Select the Entity Record Filter created earlier.

We can see our City Filer for Store along with out of the box All Records filter. Also there is no Assign and Share option as these are not user or team owned.

6. Assign the role

Now let us assign the Filter Security Role to the test user 1.

As expected, we can only have 1 record of Christchurch city showing up for the test user 1 against the System Administrator user, who can see all the records irrespective of city.

If we remove our Filter Security Role from the testu user 1, the user will get the following error message.

A Few Important Points

  • There is no record owner on a filtered ownership table.
  • Records cannot be assigned or shared using the traditional ownership model.
  • Access is controlled through filter privileges and security roles.
  • Access from multiple authorized filters is cumulative.
  • The System Administrator receives the global All records filter.
  • The ownership type cannot be changed after the table is created.
  • Filtered Record Ownership is currently a Preview feature.
  • Every query applies the filter permissions, so filter design can affect performance.

Filtered Ownership vs. Views

A view controls what records are displayed. Filter-based security controls what records the user is allowed to access.

Where Could This Be Useful?

This model is particularly interesting when access is naturally determined by attributes such as:

  • Region or City
  • Department
  • Business Area
  • Classification
  • Other business attributes

Filtered Ownership vs. Existing Tables

Microsoft also supports filter-based security on existing User/Team-owned and Organization-owned tables. In those scenarios, the filters supplement the existing security model. For a Filtered Record Ownership table, filter privileges are the primary mechanism for record access.

Conclusion

Filtered Record Ownership introduces a different way of thinking about Dataverse security. Instead of building access around record ownership, access can be based on the values stored in the record.

It is not a replacement for User/Team ownership. It is another option for scenarios where records do not need an owner and access is better described by business attributes such as location, department or classification.

Because the feature is currently in Preview, it is best evaluated in a non-production environment before considering it for a real solution.

Microsoft References

Hope it helps..

Enhancing Dataverse Views with Custom Icons, Tooltips & Visualizations (Dynamics 365)


While working with Model-driven apps, sometimes a visual indicator can make a view much easier to scan.

For example, instead of displaying simple text like Priority – Hot, Warm and Cold.

we can display an icon based on the value along with the field value. And we can also display a tooltip when the user hovers over the icon.

Microsoft Power Apps supports adding custom icons and tooltips to columns in views using image web resources and JavaScript. The JavaScript function determines which image and tooltip should be displayed for each row.

How it works

The JavaScript function receives the row data and the user’s LCID:

function displayPriorityIcon(rowData, userLCID) {
    var data = JSON.parse(rowData);
    var priority = parseInt(data.prioritycode_Value, 10);

    switch (priority) {
        case 1:
            return ["custom_PriorityHigh", "High Priority"];
        case 2:
            return ["custom_PriorityMedium", "Medium Priority"];
        case 3:
            return ["custom_PriorityLow", "Low Priority"];
        default:
            return ["", ""];
    }
}

The function returns an array containing: [imageName, tooltip]

For example: return [“custom_PriorityHigh”, “High Priority”];

The image names refer to image web resources that we add to the solution.

The userLCID parameter can also be used when tooltip text needs to be localized for different users.

Microsoft recommends using 16 × 16 pixel images for these icons. Also, when working with Choice columns, it is better to use the underlying integer value rather than the label, since labels can be localized.

Configure the view

The JavaScript web resource and function are then specified for the column in the view.

Open the view for customization, select Edit Properties for the column

Specify the Web resource and Function Name there.

Once published, the appropriate icon and tooltip are displayed based on the row data.

This can be particularly useful for columns such as:

  • Priority
  • Risk
  • SLA status
  • Customer health
  • Approval status
  • Integration status

The icon provides the visual signal, while the tooltip provides additional context.

A note about Column Visualizations

There is also a newer option available in Power Apps: Custom Column Visualizations for grids and views.

These can render column data as a Heat Map, Line Chart, Radial Dial, or Star Rating, allowing users to compare values visually within a grid.

I covered this feature in more detail in my earlier post: Column Visualizations for Grids / Views (Preview) – Dataverse / Dynamics 365

So, if we simply need a small dynamic icon with a tooltip, custom icons are a useful option. If we need a richer visualization of the underlying data, Column Visualizations may be worth considering.

Custom icons are configured per view, whereas the newer Column Visualizations are configured on the column and automatically appear wherever that column is used in grids/views.

Custom icons are configured as part of the view definition, whereas Column Visualizations are configured at the column level.

Custom icons and tooltips are supported for read-only grids. They aren’t supported for editable grids.

Hope it helps ..

Advertisements

Drawer Lookup Control in Dynamics 365 (A better lookup experience on mobile)


I recently came across a small but useful addition to the Dynamics 365 / Power Apps lookup experience: the Drawer Lookup Control.

With the standard lookup, selecting a value typically opens the familiar lookup experience.

With Drawer Lookup, the records are displayed in a bottom-sheet style drawer, making it easier to search and select a record on a phone or tablet.

This is how it would look on Web –

How to Configure It

The configuration is quite simple. Open the form in Power Apps, select the lookup field, and go to Components.

Select:

  • + Component → Drawer Lookup Control

We can then configure the lookup click-through behavior:

  • Enable lookup clickthrough
  • Disable lookup clickthrough

The control can also be enabled for the Web, Mobile, and Tablet experiences.

This is especially useful when we have forms that are frequently used from mobile devices, and users need to select records from lookup lists like leads, contacts, accounts, work orders etc.

The Disable lookup clickthrough option can also help prevent users from accidentally navigating away from the current form when interacting with a lookup value.

It is a relatively small UI enhancement, but for mobile-heavy Dynamics 365 implementations, these small improvements can make the experience noticeably cleaner. If we have forms that are heavily used on phones or tablets, Drawer Lookup Control is definitely worth trying.

References

Hope it helps..