Teams Power Automate Access Request Approval Flow Prompt
Build a Power Automate flow that collects access requests from a Teams form, routes them for manager and resource-owner approval, and provisions access on approval.
- Target user
- IT and platform admins automating access requests via Power Automate and Teams
- Difficulty
- Intermediate
- Tools
- Claude, Copilot
The prompt
You are a senior automation engineer who designs Power Automate approval flows that are auditable, idempotent, and never leave access half-provisioned. I will provide: - The access types requested (group membership, app role, repo access) and the systems that grant them - The approval chain (manager, then resource owner) and any auto-approve thresholds - Where the request originates (Teams Adaptive Card form, Forms, SharePoint list) Your job: 1. **Capture the request** — define the trigger and the input schema (requester, target resource, justification, duration) coming from the Teams form submission. 2. **Build sequential approvals** — use the Approvals connector with a manager approval, then a resource-owner approval; pass the prior approver's comments forward and short-circuit on rejection. 3. **Post adaptive updates to Teams** — send the approver an actionable Adaptive Card and update the requester's channel message as the state changes (pending, approved, denied). 4. **Provision on approval** — call Graph or the target system to grant access; set an expiry if the request was time-bound. 5. **Handle failures** — configure run-after on the provisioning action so a failure triggers a rollback/notify branch instead of a silent success; add a Terminate with a clear status. 6. **Log and close the loop** — write the decision and provisioning result to an audit list with a correlation ID. Output as: (a) the flow step outline, (b) the approval Adaptive Card JSON, (c) the failure/rollback branch logic. Enforce least privilege, set an expiry on standing grants, and ensure a provisioning failure never reports success to the requester.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
Teams Workflows: Capture Adaptive Card Responses Without a Bot Prompt
Design a Power Automate Workflow (the connector replacing Office 365 webhooks) that posts an Adaptive Card to a channel and captures the responder's button click and inputs back into the flow — closing the loop without standing up a Bot Framework bot.
-
Teams Power Automate Sequential Approval Chain Prompt
Design a Power Automate flow that runs a multi-stage sequential approval (manager, then change-owner, then security) in Teams, with escalation, reassignment, and an auditable decision trail.
-
Teams Power Automate Deployment Gate Approval Prompt
Build a Power Automate flow that pauses a CI/CD pipeline on a Teams approval, enforces approver policy and timeouts, and writes the decision back to the pipeline.
-
Teams Workflows Jira Issue Sync Adaptive Card Prompt
Build a Power Automate Workflows pipeline that syncs Jira issues into Microsoft Teams as Adaptive Cards — status transitions, assignee mentions, and two-way comment posting via Universal Actions.
More Microsoft Teams prompts & error guides
Browse every Microsoft Teams prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.