Skip to content

Event Grid readme and samples issues #17627

Closed

Description

Section link:
image

Suggestion:
Add import package

import uuid
import datetime as dt
from msrest.serialization import UTC

Section link:
image

Reason:
azure.core.exceptions.HttpResponseError: (BadRequest) Invalid key in aeg-sas-token. Valid format :r=UrlEncodedResource&e=UrlEncodedUtcExpiration&s=UrlEncodedSignature. Input sas string: lrPUpeSQUJEMj3paatULJ1ejvtgMvU4PIy3o+sypQ0w=.

Suggestion:
EVENTGRID_SAS is not an access key, but a shared access signature.
But we unable to find SAS (shared access signature) in event grid topic from the 'Azure Portal'. Only find the access key.
Maybe we should consider this method: sas = generate_sas(endpoint, topic_key, expiration_date_utc) to generate sas.

@jongio for notification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.DocsEvent GridMessagingMessaging crewbugThis issue requires a change to an existing behavior in the product in order to be resolved.test-manual-pass

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions