Jaa


Deploy Fundraising and Engagement with installer

Important

Fundraising and Engagement is being retired. Support for Fundraising and Engagement will end at 11:59 PM Pacific Time on December 31, 2026. For more information, go to What’s new in Fundraising and Engagement.

This article helps you set up or upgrade a new instance of Fundraising and Engagement within your Power Platform and Azure environments. We recommend using this method, which uses the Microsoft Cloud for Nonprofit installer. The Fundraising and Engagement solution doesn't update automatically, so you need to use these instructions whether you're upgrading or installing for the first time.

The instructions differ, depending on whether you're upgrading or installing a new version. In these cases, we've labeled the instructions as New deployment or Upgrade only. Instructions that don't have one of these labels apply to both scenarios.

We recommend taking the following actions, depending on whether you're deploying for the first time or upgrading:

  • New deployment: Read through this article to ensure you have all the information you need before you start to deploy.

  • Upgrade only: Ensure you have all the values used in your existing Microsoft Azure deployment to ensure a smooth upgrade.

Deploy or upgrade an installation

Prerequisites

It's important to review the following prerequisites before you deploy or upgrade through the Microsoft Cloud Solution Center:

  • You must be a Microsoft Power Platform admin, Dynamics 365 admin, or a tenant admin to deploy solutions in the Solution Center.

  • We recommended that you create a Power Platform environment in the admin center before the installation.

  • You must have licenses for the Microsoft Cloud for Nonprofit solutions and apps that you’re deploying. If your organization doesn't have the necessary licenses, you're notified during the deployment process. For more information, go to How to get started.

  • You must have an active Azure subscription and have an Owner role assignment for the subscription you're deploying Fundraising and Engagement to. For more information, go to Azure role assignments.

Upgrade prerequisites and notes:

  • Go to What's new in Microsoft Cloud for Nonprofit and review the latest release before upgrading your environment to that version.

  • When you update to the most recent release from an older release, you might need to run all the update actions needed for each intermediate release.

  • If you customized your solution, you need to remove all dependencies on Fundraising and Engagement before upgrading. Go to "Can't Uninstall Solution" error occurs in Microsoft Dynamics 365 before proceeding.

  • The ConnectionSecrets--DataverseConnectionString has been removed from Fundraising and Engagement and is no longer used.

Configure Azure Cloud Shell

  • New deployment: If you plan to set up payment processing, we recommend configuring an Azure Cloud Shell instance. Configuring the instance helps you run the preprepared scripts to enable that process.

  • Upgrade only: You only need to follow this step if you previously didn't use payment processing and now want to use payment processing. If you previously used payment processing, then you can skip this step.

  1. Open Azure Cloud Shell. If you get a message that says You have no storage mounted, select Create storage. This message doesn't appear if you have already set up storage.

    Option to create storage if storage isn't set up.

  2. In the top-left corner, select Bash.

    Select Bash in Azure Cloud Shell.

  3. Copy the following command in the open Azure Cloud Shell window, and then select Enter.

    wget -O - https://aka.ms/mc4n/bootstrap | bash
    
  4. Copy the following command in the open Azure Cloud Shell window, and then select Enter.

      find . -type f -iname "*.sh" -exec chmod +x {} \;
    
  5. Copy the following command in the open Azure Cloud Shell window, and then select Enter.

      az login
    
  6. Follow the instructions to finish authenticating your account with Cloud Shell.

Deploy or upgrade Fundraising and Engagement

  1. Navigate to the Microsoft Cloud Solution Center.

  2. On the left pane, Select Solutions and then select Nonprofit from the expanded menu. The Fundraising and Engagement tile displays. To see more information about Fundraising and Engagement, select Quick view.

    Screenshot showing the menu in the Solution Center.

  3. Select Add to download or upgrade to the latest version of Fundraising and Engagement.

    Screenshot showing the Fundraising and Engagement tile in Microsoft Cloud Solution Center.

  4. Select Deploy.

    Deploy button in Microsoft Cloud Solution Center.

  5. The different steps to follow to set up Fundraising and Engagement display.

    Screenshot showing the setup steps to deploy Fundraising and Engagement.

Add components

If you have a Dynamics 365 Customer Insights license, then Fundraising and Engagement Marketing insights is a free optional component that can help fundraisers understand which journeys a donor has participated in and their interactions with those journeys. These insights help fundraisers make better engagements with the donor in the future.

  1. Select the radio button if you want to include Fundraising and Engagement Marketing insights. You can install this component later through existing deployments in Solution Center if you want.

    Set up solution page showing the option to include Fundraising and Engagement Marketing insights.

  2. Select either Next or Skip to proceed.

    Screenshot of the buttons to either select Next or Skip.

Set a deployment environment

All fields are mandatory on this page and you must complete them for both new installations and upgrades. Be sure to scroll down to view all of them.

  • New deployment: You need a Power Platform environment to complete this section.

  • Upgrade only: If you previously used a Power Platform environment, you need to deploy to the same environment.

    Screenshot showing the deployment page.

  1. Choose an existing Power Platform environment: Select an existing environment or Create a new environment in the Power Platform admin center. You experience a delay between creating the platform and the platform appearing in the drop-down list.

    Screenshot showing the option to select an existing Power Platform environment or to create a new environment. .":::

  2. Enter a user-friendly name for your deployment for easy identification and management.

  3. Read and accept the Terms of service.

    Screenshot showing the Terms of Service check box.

  4. Select Next to continue.

    Screenshot showing the buttons to go back, move to the Next screen or to cancel the action.

  5. A message appears while the system checks for any dependencies

    Screenshot showing the screen message while checking for dependencies.

Configure dependencies

The Configure dependencies page shows the results of the checks and any problems with the setup information.

Screenshot showing the solution Center checks predeployment dependencies.

  • Select Deploy.

    Screenshot showing buttons the Back and Deploy buttons.

Deploy solution

  1. On the Deploy solution page, a progress message appears while the deployment happens in background.

    Screenshot showing a message that the deployment is in progress.

  2. If the deployment is successful, a message displays saying that Fundraising and Engagement has successfully deployed.

    Deployment succeeded message.

  3. Select Fundraising and Engagement Configuration > Get it now to proceed with the Microsoft Cloud for Nonprofit installer.

  4. If the deployment is unsuccessful, a Deployment failed message displays. In this case, select the Contact support button.

    Deployment failed message.

Deploy or upgrade Fundraising and Engagement Azure Services

Prerequisites

  • New deployment:

    • We recommend that you read through this guide to ensure you have all the information you need before you start to deploy.
    • We recommend a dedicated resource group.
  • Upgrade only: Ensure that you have all the previously used values from your existing installation to ensure a smooth upgrade.

    • Resource group: Note down your existing resource group.
    • Client Name: You can find your Client Name in the Azure portal. Navigate to selected Resource Group and inspect the prefixes for existing resources for Fundraising and Engagement. They appear in the form of {prefix}-{resource}-{suffix}, where {prefix} is the existing Client Name to use for upgrading Fundraising and Engagement. For example, for resources named jl1-AI-prod and jl1-AppServicePlan-prod, jl1 is the prefix for the resources and is the Client Name value for upgrading.
    • Environment: The value stored under a field called Env. You can find it in the Azure portal. Navigate to selected Resource Group and inspect the suffixes for existing resources for Fundraising and Engagement. They appear in the form of {prefix}-{resource}-{suffix}, where {suffix} is the existing Env value to use for upgrading Fundraising and Engagement. For example, for resources named jl1-AI-prod and jl1-AppServicePlan-prod, prod is the suffix for the resources and is the Env value for upgrading.

Installation

  1. Navigate back to the Microsoft Cloud Solution Center.

  2. On the left pane, select Solutions and then select Nonprofit from the expanded menu. The Fundraising and Engagement Azure Services tile displays. To see more information about Fundraising and Engagement, select Quick view.

  3. Select Go to setup, which takes you to the Azure portal to set up Azure services required for Fundraising and Engagement.

    Solution Center Card for Fundraising and Engagement Services

  4. The Custom deployment page displays. All fields are mandatory, and you need to scroll down to view all of them.

    Download Azure Services required for Fundraising and Engagement

    • Subscription: Select your Azure subscription from the Subscription dropdown. You must have the role of Owner on the subscription.

    • Resource Group:

      • New deployment: If you already have a resource group, select it from the Resource Group dropdown. Otherwise, select Create new. You need to refresh the list using the refresh button on the right of the drop-down menu to see new resource groups.
      • Upgrade Only: Use the same resource group as your previous installation. Selecting a different resource group creates a new installation of Fundraising and Engagement.
    • Region: Select a region.

    • Client Name:

      • New deployment: Enter the organization name.
      • Upgrade Only: Use the same Client name as your previous installation, otherwise, the deployment creates new resources in the selected resource group for installing Fundraising and Engagement.
    • Env:

      • New deployment: Select the type of environment you're setting up. The mappings correspond to frequently used environments. If in doubt, select prod for production.
      • Upgrade Only: Select the same Env used for your previous installation of Fundraising and Engagement. Otherwise, the deployment creates new resources in the selected resource group for installing Fundraising and Engagement.
    • Sql Admin Id:

      • Upgrade Only: Enter the word existing.

      • New deployment: Enter the Microsoft Entra ID user or Group ID of the SQL server admin. To find the reference number:

        • Navigate to the Microsoft Entra ID admin center. You may need to sign in when you open the page.
        • Locate the user and find the Object ID for the user account. The Object ID is a 30-character reference number with a mix of letters and numbers separated into five groups by dashes.
        • Select the Copy to clipboard icon and paste the Object ID into the Sql Admin ID field.

        User card in Microsoft Entra ID showing the object ID.

    • Release Version: Select the latest version from the Release Version list. We recommend that you always deploy the latest version unless there's a specific reason not to.

  5. Select the Review + create button and wait until the ARM templates deploys. If the deployment fails, you might need to manually remove Azure components, because you can't currently roll back Azure deployments.

  6. Open Fundraising and Engagement to complete Azure services configuration. You can select the notification bar stating that your configuration isn’t complete, or you can open the Microsoft Cloud for Nonprofit installer from the deployment success page. The installer automatically configures Azure to work with Fundraising and Engagement.

Configure Azure services

We recommend that you continue the steps in this article to automatically configure Azure services with the Microsoft Cloud for Nonprofit installer. If you prefer, you can set up the system manually.

Run the Microsoft Cloud for Nonprofit installer

  1. On the Configure settings page, complete the following information, and then select Next:

    • Select your environment in the Organization ID dropdown.
    • Select your Azure subscription from Azure subscription dropdown.
    • Select your resource group from the Azure resource group dropdown.
    • Under Terms of service, select the check box.

    Configure settings page of the installer requesting the environment name, Azure subscription, and resource group.

  2. A message appears confirming service configuration in the background.

    Azure configuration page confirming background configuration and warning not to refresh or close the window during this process.

  3. If everything configures successfully, the confirmation page appears. Select Open Fundraising and Engagement to continue setting up the system.

    Successful deployment confirmation screen with options to either select a link to view additional documentation or to open Fundraising and Engagement.

  4. If the configuration fails, you need to restart the deployment or contact support. Ensure you provide all the information in the error message when contacting support to help in diagnosing the issue.

    Confirmation page showing a failed attempt.

Move payment processor credentials to Azure key vault (Upgrade only)

If you're upgrading from a version older than 2.0.3.0, you also need to perform a manual migration of payment processor credentials. You can skip this if you have no payment processors configured.

To continue, you need the following information:

  • <RESOURCE_GROUP>: The resource group name where Fundraising and Engagement is deployed.
  • <DYNAMIC_URL>: The URL of your Dynamics 365 environment.
  1. Follow the steps in Configure Azure Cloud Shell to prepare the Cloud Shell environment.

  2. Open Azure Cloud Shell.

  3. In the top-left corner, select Bash.

  4. To import all your existing payment processor credentials to Azure Key Vault, run the following commands in the Azure Cloud Shell, swapping in your values for <RESOURCE_GROUP> and <DYNAMICS_URL>:

    bash ./importFromEnvironment.sh --group <RESOURCE_GROUP> --url <DYNAMICS_URL>
    
  5. The payment processor credentials need to be removed from Dynamics 365.

    1. In your Fundraising and Engagement environment, select the Configurations tab on the bottom left menu.
    2. In Settings (left menu), delete these field values for each payment processor:
      • Stripe Service Key
      • API Key
      • iATS Agent code
      • iATS Password
  6. Each time you make changes to the payment processor configuration, you need to rerun these steps.

  • You have a successful deployment and used the installer: To complete your deployment, go to postdeployment configuration for Fundraising and Engagement.
  • You installed using the manual method and did not use the installer: Continue with this article to finish setting up your upgraded version of Fundraising and Engagement.

Unassign application user from Fundraising and Engagement Credentials column security profile

This section removes any extra privileges from the Dataverse user account. If you used the installer to upgrade then this step has already been done and should be ignored.

  1. In the Power Platform admin center, select Environments, and then select the Environment where you installed Fundraising and Engagement.
  2. Select the Settings button from the command bar.
  3. Expand the Users + permissions section.
  4. Select Column Security Profiles.
  5. Open the Fundraising and Engagement Azure App user profile. On the Users tab, take note of the username containing azure2dataverse.
  6. Return to Column Security Profiles.
  7. Open the Fundraising and Engagement Credentials profile. On the Users tab, remove the user you previously noted.

To complete your deployment, go to postdeployment configuration for Fundraising and Engagement.

Troubleshoot the deployment

Failure occurs during ARM template deployment

The Solution Center deployment can't roll back an ARM template deployment. If the Solution Center ARM template fails because it didn't meet the prerequisites, you might need to manually remove created components. Then you can try the deployment again.

Incorrect parameter value entered when updating to a new version of ARM template

When you deploy a new version of the ARM template during the update procedure, you must enter values exactly according to instructions. The following list outlines the problems that incorrect values can cause, and how to address them:

  • Client Name and Env: Entering values for Client Name or Env that are different from the previous installation can result in creating a second set of Azure resources (for example, two SQL servers instead of one, with the associated cost) in the target resource group. In this case, you need to manually delete the second set of resources and redeploy the ARM template.

ARM template deployment problem due to incorrect resource naming

Should you see an ARM template deployment failure due to naming problem, ensure that Client Name only uses alphanumeric characters. You can't use characters such as dot or dash.

Naming and unique name concepts

A failure during deployment of the template can occur because of the naming conventions used during the template setup. Resource names are externally addressable and must be unique. The template generates unique names for the created applications. If a namespace for a component within the template is already in use, the deployment fails. In this case, you must modify the organization name to create a unique naming convention.

For details on best practices for naming, go to Azure naming conventions.

Reaching maximum path length when deploying Azure components

If you're using Windows, the build or deployment of Azure components in Visual Studio might fail if the path of files created during the build reaches the maximum Windows path length. To avoid this issue, move the root of the fundraising-and-engagement Git repo to a different location in your file system with a shorter path.

See also

Configure Fundraising and Engagement

Deploy and configure Microsoft Cloud for Nonprofit

Overview of Fundraising and Engagement

Get started with Microsoft Cloud for Nonprofit

Support for Microsoft Cloud for Nonprofit