diff --git a/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_patch.py b/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_patch.py index e8ca551d09f9..c7508657d16c 100644 --- a/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_patch.py +++ b/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_patch.py @@ -74,7 +74,7 @@ def __init__( self._publish = self._client.send # type:ignore[attr-defined] else: if isinstance(credential, AzureSasCredential): - raise TypeError("SAS token authentication is not supported for the standard client.") + raise TypeError("SAS token authentication is not supported for Event Grid Namespace.") super().__init__( endpoint=endpoint, credential=credential, diff --git a/sdk/eventgrid/azure-eventgrid/azure/eventgrid/aio/_patch.py b/sdk/eventgrid/azure-eventgrid/azure/eventgrid/aio/_patch.py index 48d1d0153d57..5081e0bc79e0 100644 --- a/sdk/eventgrid/azure-eventgrid/azure/eventgrid/aio/_patch.py +++ b/sdk/eventgrid/azure-eventgrid/azure/eventgrid/aio/_patch.py @@ -72,7 +72,7 @@ def __init__( self._publish = self._client.send # type: ignore[attr-defined] else: if isinstance(credential, AzureSasCredential): - raise TypeError("SAS token authentication is not supported for the standard client.") + raise TypeError("SAS token authentication is not supported for Event Grid Namespace.") super().__init__( endpoint=endpoint,