StackCare Web Portal Entra Configuration

Start the Entra Configuration Setup in the StackCare Web Portal.

  1. Select your organization in the dropdown menu.
  2. Navigate to the Organization Settings page and select Microsoft Entra.
  3. Click "Start Entra Configuration Setup" to begin the process.
Microsoft Entra Organization Settings screenshot
StackCare Entra configuration step screenshot

Create a StackCare Enterprise App within Microsoft Entra

  1. Select Enterprise apps in the Microsoft Entra navigation panel.
    Enterprise apps navigation panel screenshot
  2. Click New application at the top.
    New application button screenshot
  3. Click Create your own application.
    Create your own application screenshot
  4. Enter StackCare as the app name, select Integrate any other application you don't find in the gallery (Non-gallery), then click Create.
    StackCare app name and non-gallery selection screenshot
  5. With the StackCare Enterprise App created, check the associated box back in the Entra Configuration Setup window and move on to the next step.
    Enterprise app created confirmation screenshot

Single Sign-On - Basic SAML Configuration

  1. Select Single sign-on in the Enterprise App navigation.
    Single sign-on navigation screenshot
  2. Select the SAML sign-on method.
    SAML sign-on method selection screenshot
  3. In the Basic SAML Configuration pane, click the Edit button.
    Basic SAML Configuration edit button screenshot
  4. Click Add identifier and enter stackcare (or another identifier). Click Add reply URL and enter https://api.stack.care/auth/saml/acs. Leave the other fields blank and click Save to save the configuration.
    Add identifier and reply URL screenshot
  5. Once saved, close the Basic SAML Configuration pane and continue.
  6. In the Entra Configuration Setup window, check the box for Basic SAML Configuration and proceed to the next step.
    Basic SAML Configuration checkbox screenshot

Submit Identifier (Entity ID) and App Federation Metadata URL

  1. Note the identifier saved in Basic SAML Configuration and copy the App Federation Metadata URL located in the SAML Certificates section (section 3).
    Copy App Federation Metadata URL screenshot
  2. Enter the Enterprise App Identifier (Entity ID) and App Federation Metadata URL in the StackCare Entra Configuration window, then click Submit.
    Submit Entity ID and metadata URL screenshot
  3. You should see a Submitted Successfully! message.
    Submitted successfully screenshot

Assign Your Account

You are already signed in to the StackCare Web Portal with your existing email-and-password account. Before testing single sign-on, assign your corresponding Microsoft Entra user account to the StackCare Enterprise Application. Use the account with the same email address as your StackCare account.

  1. In the StackCare Enterprise Application, open Users and groups and select Add user/group.
  2. Users and Groups Add User/Group screenshot
  3. Under Users and groups, choose your own Microsoft Entra user account matching your StackCare email address, and click Select.
  4. Click Assign to assign the user to the application.
  5. Confirm your account appears in the app's Users and groups list before continuing.

Validate Single Sign-On

  1. On the Enterprise Application's Single Sign-On page, click the Test button at the bottom of the page.
    Test button for Single Sign-On screenshot
  2. In the right panel, click Test sign in and sign in with your own Microsoft Entra account assigned above.
    Test sign in button screenshot
  3. Successful authentication should redirect to the StackCare web portal.
    Successful authentication screenshot
  4. After confirming sign-in succeeds, return to the StackCare Entra Configuration Setup tab. Check the final validation step for Section 1 and click Next. Keep the Entra admin console open for the remaining configuration steps.
    Final validation and next button screenshot

Assign Users & Groups

You assigned your own account earlier to validate sign-in. Now assign the Entra groups whose members should be synchronized to StackCare. Keep your own account assigned.

Plan one Entra group for each StackCare community and role. For example, create a group, SC-CommunityA-Caregivers, that will be mapped to CommunityA → Caregiver. Use a separate group for caregivers who should access CommB.

Only direct group members are included in provisioning. Microsoft Entra does not expand nested groups for application provisioning. Users who belong only to a group nested inside an assigned group will not be provisioned through that assignment. Add caregivers directly to the community group assigned to StackCare, or assign their group separately to the Enterprise Application and map that group to the appropriate StackCare community and role. See Microsoft's provisioning guidance.
  1. Review the direct user membership of each group in Entra. Include only the users who should receive the community and role you intend to map.
  2. In the StackCare Enterprise Application, open Users and groups → Add user/group.
  3. Add user/group button screenshot
  4. Select Users and groups, choose the group, then click Select.
  5. Select users and groups screenshot
  6. Select the appropriate application role if prompted, then click Assign.
  7. Assign application role screenshot
  8. Repeat for each community-and-role group, then confirm the groups appear in the app's assignment list alongside your own account.
  9. Assigned groups and users screenshot

Enterprise App Provisioning

  1. Select the Provisioning option in the StackCare Enterprise Application navigation panel.
    Provisioning option screenshot
  2. Click the New configuration button at the top.
    New provisioning configuration screenshot
  3. Use the Tenant URL and Secret Token provided in the configuration window. Use the copy button to copy the full token.
    Tenant URL and secret token screenshot
  4. Fill out the New provisioning configuration form:
    1. Use Bearer authentication.
    2. Enter the Tenant URL from the configuration window.
    3. Enter the Secret Token from the configuration window.
      Provisioning configuration form screenshot
    4. Click the Test connection button. It should show "Connection test for 'StackCare' was successful".
      Provisioning connection successful screenshot
  5. Click the Create button.
    Provisioning create button screenshot
  6. In the provisioning configuration settings, set Scope to Sync only assigned users and groups and save the setting.

Start Provisioning

  1. Return to the provisioning configuration and click Start provisioning to begin synchronization. The initial sync can take 20 minutes or longer. Later syncs run about every 40 minutes. Use "Provision on demand" to trigger a sync outside the normal schedule.
    Start provisioning button screenshot
  2. Close the provisioning window using the close button.
    Close provisioning window screenshot
  3. Check the Test, Create, and Start provisioning boxes in the configuration window and click Next.
    Provisioning next step screenshot

StackCare Logo

Optional: upload the StackCare logo for better visibility in Microsoft Entra and My Apps.

  1. Select Properties in the StackCare Enterprise App navigation.
    Properties navigation screenshot
  2. Click the StackCare logo URL below, which opens in a new tab.

    https://stack.care/s/StackCareLogo.png

  3. Right-click the image and select "Save Image As..." to save it locally.
    Download StackCare logo screenshot
  4. In the Logo section, click the file selector and choose the downloaded StackCare logo.
    Select logo file screenshot
  5. Confirm the StackCare logo appears, then click Save.
    Logo preview before saving screenshot
  6. In the StackCare configuration window, check the box and click Done.
    Complete logo setup screenshot
    You've completed SSO and provisioning setup. Next, associate Entra groups with the correct StackCare communities and user roles.

Group Mapping

    Initially, Entra groups synchronized to StackCare will not have an associated community or user role, as shown below.
    Group mapping community selection screenshot
  1. For each synchronized Entra group, select the StackCare community and user role planned above. For example, map SC-CommunityA-Caregivers to CommunityA and the Caregiver role. Check the group membership before applying the mapping, because the mapping determines access for its members.
    Apply group mappings screenshot
  2. Complete all desired group mappings.
  3. Validate that group members are created in their designated communities with the correct role.
  4. If groups do not appear immediately, wait for the next provisioning cycle or restart provisioning from Microsoft Entra.

Verify StackCare Access

After provisioning and group mapping are complete, verify the full sign-in and access flow.

  1. Select a test user account and ensure the user is a member of a group assigned to the StackCare app and mapped in StackCare.
  2. Check the Microsoft Entra provisioning logs to confirm the test account and required group have synchronized successfully. Resolve any provisioning errors before continuing.
  3. Open a private browser window and go to the StackCare web portal.
  4. After entering the test account email and hitting continue, confirm the "Log In with Microsoft Entra" button appears. Then click the button to log in with Entra.
  5. Confirm the login succeeds and you can access the expected StackCare community with the correct role.
  6. If the login fails with an assignment error, check the account's Enterprise Application assignment. If the login succeeds but community access is missing or incorrect, check provisioning results and StackCare group mappings.