Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on create subscription for teams chat messages #1849

Closed
LuccaRebelloToledo opened this issue Dec 5, 2024 · 1 comment
Closed

Error on create subscription for teams chat messages #1849

LuccaRebelloToledo opened this issue Dec 5, 2024 · 1 comment
Labels
status:waiting-for-triage An issue that is yet to be reviewed or assigned

Comments

@LuccaRebelloToledo
Copy link

LuccaRebelloToledo commented Dec 5, 2024

I'm trying to create a subscription to receive notifications about user messages, but I'm receiving an ExtensionError. I'm basing myself on Team chats

I've tried to create a subscription with the sample code I've found on Microsoft but I received an error. My expectation is to create a subscription to capture all chat messages on Teams.

image

Permissions Granted:
Permissions

My body:

{
    "changeType": "created",
    "notificationUrl": "https://teams.execute-api.us-east-1.amazonaws.com/dev/notification-listener",
    "lifecycleNotificationUrl": "https://teams.execute-api.us-east-1.amazonaws.com/dev/lifecycle-notification-listener",
    "resource": "/me/chats",
    "expirationDateTime": "2024-12-06T14:29:36.010Z",
    "clientState": "secretClientState",
}

The error I'm receiving:

Internal Server Error - 500 - 5157 ms

{
    "error": {
        "code": "ExtensionError",
        "message": "Operation: Create; Exception: [Specified method is not supported.]",
        "innerError": {
            "date": "2024-12-05T15:48:55",
            "request-id": "01c567e9-30ee-4770-869c-a5284bbf255a",
            "client-request-id": "a70045a4-84d3-05ee-6d52-e793f04ab864"
        }
    }
}

image

@LuccaRebelloToledo LuccaRebelloToledo added the status:waiting-for-triage An issue that is yet to be reviewed or assigned label Dec 5, 2024
@LuccaRebelloToledo
Copy link
Author

To make the subscription, your account must be a tenant other than 'Personal'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:waiting-for-triage An issue that is yet to be reviewed or assigned
Projects
None yet
Development

No branches or pull requests

1 participant