-
Notifications
You must be signed in to change notification settings - Fork 256
Open
Labels
status:waiting-for-triageAn issue that is yet to be reviewed or assignedAn issue that is yet to be reviewed or assignedtype:featureNew experience requestNew experience request
Description
Is your feature request related to a problem? Please describe the problem.
Problem Description
I'm attempting to create a Microsoft Teams approval from a background service that authenticates using client credentials flow (grant_type: client_credentials
) with a client secret. However, the API call is failing with an authorization error.
Current Implementation
- Authentication Method: Client Credentials Grant Type with client secret
- API Endpoint: Microsoft Graph - Create approvalItem
- Service Type: Background service (no user context)
Error Details
"Failed to authorize the client, required scope(s) or role(s) not present."
Describe the solution you'd like.
The background service should be able to create Microsoft Teams approvals programmatically without requiring user interaction or delegated permissions.
Additional context?
- The service needs to operate without user interaction
- Client credentials authentication is a requirement for our architecture
- Looking for any supported method to achieve this functionality, including alternative approaches
Metadata
Metadata
Assignees
Labels
status:waiting-for-triageAn issue that is yet to be reviewed or assignedAn issue that is yet to be reviewed or assignedtype:featureNew experience requestNew experience request