StackCare Web Portal Entra Configuration
Start the Entra Configuration Setup in the StackCare Web Portal.
- Select your organization in the dropdown menu.
- Navigate to the Organization Settings page and select Microsoft Entra.
- Click "Start Entra Configuration Setup" to begin the process.
Create a StackCare Enterprise App within Microsoft Entra
-
Select Enterprise apps in the Microsoft Entra navigation panel.
-
Click New application at the top.
-
Click Create your own application.
-
Enter StackCare as the app name, select Integrate any other application you don't find in the gallery (Non-gallery), then click Create.
-
With the StackCare Enterprise App created, check the associated box back in the Entra Configuration Setup window and move on to the next step.
Single Sign-On - Basic SAML Configuration
-
Select Single sign-on in the Enterprise App navigation.
-
Select the SAML sign-on method.
-
In the Basic SAML Configuration pane, click the Edit button.
-
Click Add identifier and enter
stackcare(or another identifier). Click Add reply URL and enterhttps://api.stack.care/auth/saml/acs. Leave the other fields blank and click Save to save the configuration.
- Once saved, close the Basic SAML Configuration pane and continue.
-
In the Entra Configuration Setup window, check the box for Basic SAML Configuration and proceed to the next step.
Submit Identifier (Entity ID) and App Federation Metadata URL
-
Note the identifier saved in Basic SAML Configuration and copy the App Federation Metadata URL located in the SAML Certificates section (section 3).
-
Enter the Enterprise App Identifier (Entity ID) and App Federation Metadata URL in the StackCare Entra Configuration window, then click Submit.
-
You should see a Submitted Successfully! message.
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.
- In the StackCare Enterprise Application, open Users and groups and select Add user/group.
- Under Users and groups, choose your own Microsoft Entra user account matching your StackCare email address, and click Select.
- Click Assign to assign the user to the application.
- Confirm your account appears in the app's Users and groups list before continuing.
Validate Single Sign-On
-
On the Enterprise Application's Single Sign-On page, click the Test button at the bottom of the page.
-
In the right panel, click Test sign in and sign in with your own Microsoft Entra account assigned above.
-
Successful authentication should redirect to the StackCare web portal.
-
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.
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.
- 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.
- In the StackCare Enterprise Application, open Users and groups → Add user/group.
- Select Users and groups, choose the group, then click Select.
- Select the appropriate application role if prompted, then click Assign.
- Repeat for each community-and-role group, then confirm the groups appear in the app's assignment list alongside your own account.
Enterprise App Provisioning
-
Select the Provisioning option in the StackCare Enterprise Application navigation panel.
-
Click the New configuration button at the top.
-
Use the Tenant URL and Secret Token provided in the configuration window.
Use the copy button to copy the full token.
-
Fill out the New provisioning configuration form:
- Use Bearer authentication.
- Enter the Tenant URL from the configuration window.
- Enter the Secret Token from the configuration window.
-
Click the Test connection button.
It should show "Connection test for 'StackCare' was successful".
-
Click the Create button.
- In the provisioning configuration settings, set Scope to Sync only assigned users and groups and save the setting.
Start Provisioning
-
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.
-
Close the provisioning window using the close button.
-
Check the Test, Create, and Start provisioning boxes in the configuration window and click Next.
StackCare Logo
Optional: upload the StackCare logo for better visibility in Microsoft Entra and My Apps.
-
Select Properties in the StackCare Enterprise App navigation.
- Click the StackCare logo URL below, which opens in a new tab.
-
Right-click the image and select "Save Image As..." to save it locally.
-
In the Logo section, click the file selector and choose the downloaded StackCare logo.
-
Confirm the StackCare logo appears, then click Save.
-
In the StackCare configuration window, check the box and click Done.
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.
-
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.
- Complete all desired group mappings.
- Validate that group members are created in their designated communities with the correct role.
- 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.
- Select a test user account and ensure the user is a member of a group assigned to the StackCare app and mapped in StackCare.
- Check the Microsoft Entra provisioning logs to confirm the test account and required group have synchronized successfully. Resolve any provisioning errors before continuing.
- Open a private browser window and go to the StackCare web portal.
- 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.
- Confirm the login succeeds and you can access the expected StackCare community with the correct role.
- 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.