Skip to content

Commit a8ac4e5

Browse files
authored
[ACS-Identity] Fixed livetest pipeline failure (#35059)
* changed env.var name for samples * fixed for async sample
1 parent f27e9bd commit a8ac4e5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sdk/communication/azure-communication-identity/samples/identity_samples.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
USAGE:
1515
python identity_samples.py
1616
Set the environment variables with your own values before running the sample:
17-
1) COMMUNICATION_SAMPLES_CONNECTION_STRING - the connection string in your Communication Services resource
17+
1) COMMUNICATION_AUTH_SAMPLES_CONNECTION_STRING - the connection string in your Communication Services resource
1818
2) AZURE_CLIENT_ID - the client ID of your active directory application
1919
3) AZURE_CLIENT_SECRET - the secret of your active directory application
2020
4) AZURE_TENANT_ID - the tenant ID of your active directory application
@@ -32,7 +32,7 @@
3232

3333
class CommunicationIdentityClientSamples(object):
3434
def __init__(self):
35-
self.connection_string = os.getenv("COMMUNICATION_SAMPLES_CONNECTION_STRING", "")
35+
self.connection_string = os.getenv("COMMUNICATION_AUTH_SAMPLES_CONNECTION_STRING", "")
3636
self.client_id = os.getenv("AZURE_CLIENT_ID")
3737
self.client_secret = os.getenv("AZURE_CLIENT_SECRET")
3838
self.tenant_id = os.getenv("AZURE_TENANT_ID")

sdk/communication/azure-communication-identity/samples/identity_samples_async.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
python identity_samples_async.py
1616
Set the environment variables with your own values before running the sample:
1717
1) AZURE_COMMUNICATION_SERVICE_ENDPOINT - Communication Service endpoint url
18-
2) COMMUNICATION_SAMPLES_CONNECTION_STRING - the connection string in your Communication Services resource
18+
2) COMMUNICATION_AUTH_SAMPLES_CONNECTION_STRING - the connection string in your Communication Services resource
1919
3) AZURE_CLIENT_ID - the client ID of your active directory application
2020
4) AZURE_CLIENT_SECRET - the secret of your active directory application
2121
5) AZURE_TENANT_ID - the tenant ID of your active directory application
@@ -34,7 +34,7 @@
3434

3535
class CommunicationIdentityClientSamples(object):
3636
def __init__(self):
37-
self.connection_string = os.getenv("COMMUNICATION_SAMPLES_CONNECTION_STRING", "")
37+
self.connection_string = os.getenv("COMMUNICATION_AUTH_SAMPLES_CONNECTION_STRING", "")
3838
self.endpoint = os.getenv("AZURE_COMMUNICATION_SERVICE_ENDPOINT")
3939
self.client_id = os.getenv("AZURE_CLIENT_ID")
4040
self.client_secret = os.getenv("AZURE_CLIENT_SECRET")

0 commit comments

Comments
 (0)