New-MgSubscription fails for adhoc calls

Offen
#3,872 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
57/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
powershell
Bereich
api

Rechercherichtung

Start by checking how New-MgSubscription handles the resource value users/{userId}/adhocCalls/getAllTranscripts, then compare that behavior with the linked Microsoft Graph documentation. Reproduce the reported error using the provided command and request body. Done when the SDK accepts the documented resource and creates the subscription, or the issue identifies where the SDK limitation comes from.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

status:waiting-for-triage type:bug
Describe the bug

I am trying to create a change notification for when adhoc call transcripts are created but receive an error that the subscription for resource is not supported in V1 (although microsoft documenation says it is)

Expected behavior

I expect a subscription to be created as microsoft documentation says it's supported
https://learn.microsoft.com/en-us/graph/teams-changenotifications-callrecording-and-calltranscript#subscribe-to-transcripts-available-for-ad-hoc-call-where-a-specific-user-initiates-transcription

How to reproduce

New-MgSubscription -BodyParameter $adhocSub
With a body object looking like this...

$adhocSub = @{ 
    changeType                  = "created"
    notificationUrl             = $azureFuncUri
    resource                    = "users/$($userId)/adhocCalls/getAllTranscripts"
    expirationDateTime          = $expire
    clientState                 = "secretClientValue"
    latestSupportedTlsVersion   = "v1_2"
    lifecycleNotificationUrl    = $lifecycleUri
}
SDK Version

2.35.1

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output
Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_
Vorherrschende Sprache
C#
Sterne
904
Forks
235
Ø Merge
2 T. 4 Std.
Gemergte PRs (30 T.)
19

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus microsoftgraph/msgraph-sdk-powershell

Alle Issues in microsoftgraph/msgraph-sdk-powershell

Ähnliche Issues

Weitere Issues zu C#

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.