Automating Microsoft Entra ID with Power Automate
Microsoft Entra ID (formerly Azure Active Directory) is Microsoft’s cloud-based identity service. Power Automate pairs well with it for automating repetitive identity admin tasks - especially when you’re managing Tallyfy members and their access through SSO.
Power Automate can handle the busywork: onboarding users who need Tallyfy access, removing people when they leave, managing group-based roles, and generating compliance reports.
- Sync members automatically: When your Tallyfy member list ties to Entra ID groups, Power Automate adds and removes users for you.
- Control access through SSO: Link Tallyfy SSO to Entra ID security groups, then let Power Automate manage group membership.
- Generate compliance reports: Pull Entra ID group membership data for quarterly access reviews in seconds.
Here’s what Power Automate offers for Entra ID and Tallyfy:
- Entra ID Connector: The main tool for user and group operations affecting Tallyfy access. See understanding Power Automate basics for connector fundamentals.
Get user profile (V2)andGet manager (V2): Pull user details for Tallyfy task assignments.Create user,Update user,Delete user: Automate the full user lifecycle - joining, changing roles, or leaving.Add user to group,Remove user from group: Control which Entra ID groups grant Tallyfy access.List group members,List users: Build “who has access to what” reports.
- Office 365 Groups Connector: Useful if you organize teams needing Tallyfy access through Microsoft 365 Groups.
- HTTP with Microsoft Graph API (Advanced): For anything the standard connectors can’t handle - like pulling custom user attributes for Tallyfy role assignments. See connecting Power Automate to external data.
Scenario: Sales members joining Tallyfy should be automatically added to a “Tallyfy Users” Entra ID security group.
This assumes you have a trigger for when someone joins Tallyfy. Tallyfy supports webhooks for member events (like user invited and user activated), or you could use an HR system trigger. For this demo, we’ll use a manual trigger.
-
Trigger: Manually trigger a flow (for demo purposes).
- Add input fields:
User Email(Text),Job Title(Text).
- Add input fields:
-
Action: Entra ID - “Get user (V2)”.
- User UPN or ID: Use
User Emailfrom the trigger. This retrieves the user’s Entra ID profile, including the Object ID you’ll need for group management.
- User UPN or ID: Use
-
Control: “Condition”.
- See using conditional logic for details.
- Value 1:
Job Titlefrom the trigger. - Operator:
contains(oris equal tofor exact matches). - Value 2:
Sales.
-
IF YES branch: Entra ID - “Add user to group”.
- Group Id: The Object ID of your “Tallyfy Sales Users” security group (find it in Azure portal under Microsoft Entra ID > Groups).
- User Id: The
Id(Object ID) from the “Get user (V2)” output.
-
Save and test. See managing and monitoring flows for testing tips.
Scenario: You need a monthly CSV report of everyone in your “Tallyfy General Access” Entra ID group, emailed automatically.
-
Trigger: Recurrence.
- Interval:
1, Frequency:Month. - Pick a specific day and time.
- Interval:
-
Action: Entra ID - “List group members”.
- Group Id: The Object ID of your “Tallyfy General Access” group.
-
Action: “Create CSV table” (Data Operation).
- See working with data operations and variables for help.
- From: The
valueoutput from “List group members” (an array of users). - Columns: Choose
Custom.- Header 1:
UserPrincipalName, Value:User Principal Name. - Header 2:
DisplayName, Value:Display Name.
- Header 1:
-
Action: “Send an email (V2)” (Outlook 365).
- To: Administrator’s email.
- Subject:
Monthly Tallyfy User Access Review Report. - Body:
Monthly report of users in the 'Tallyfy General Access' group. - Under Show advanced options:
- Attachments Name - 1:
TallyfyUserReport.csv. - Attachments Content - 1:
Outputfrom the “Create CSV table” action.
-
Save and test.
When the standard connector falls short - say you need custom user properties for Tallyfy role assignments - use the HTTP action with Microsoft Graph API. Full details in connecting Power Automate to external data.
You’ll need to set up:
- App Registration in Entra ID with the right API permissions.
- Secure credentials in your HTTP action.
- HTTP Action Configuration - method, URI, headers, and body for Graph API calls.
- Parse JSON Action to make the response usable in your flow.
This approach requires familiarity with Entra ID app registrations and Graph API, but it opens up far more flexibility.
- Least privilege: Give API permissions and service accounts only what they need.
- Use Object IDs, not display names: Display names change. Object IDs don’t. Always reference groups by Object ID in your flows.
- Test with real permissions: If regular users run these flows, test under their account - not your admin credentials.
- Automate the full lifecycle: Hook into Entra ID lifecycle events to provision and deprovision Tallyfy members automatically. This pairs well with SSO.
Authentication > Integrate Microsoft Entra ID SSO
Power Automate > Connect Tallyfy to Power Automate
Power Automate > Understanding Power Automate basics
Was this helpful?
- 2025 Tallyfy, Inc.
- Privacy Policy
- Terms of Use
- Report Issue
- Trademarks