diff --git a/sdk/communication/communication-administration/samples/javascript/README.md b/sdk/communication/communication-administration/samples/javascript/README.md index d16305e747ac..7c8af2274fe5 100644 --- a/sdk/communication/communication-administration/samples/javascript/README.md +++ b/sdk/communication/communication-administration/samples/javascript/README.md @@ -47,7 +47,7 @@ node issueToken.js Alternatively, run a single sample with the correct environment variables set (step 3 is not required if you do this), for example (cross-platform): ```bash -npx cross-env CONNECTION_STRING="" node issueToken.js +npx cross-env COMMUNICATION_CONNECTION_STRING="" node issueToken.js ``` ## Next Steps diff --git a/sdk/communication/communication-administration/samples/javascript/issueToken.js b/sdk/communication/communication-administration/samples/javascript/issueToken.js index db295a7913c7..08268cf684fb 100644 --- a/sdk/communication/communication-administration/samples/javascript/issueToken.js +++ b/sdk/communication/communication-administration/samples/javascript/issueToken.js @@ -14,7 +14,7 @@ dotenv.config(); // You will need to set this environment variables or edit the following values const connectionString = - process.env["CONNECTION_STRING"] || ""; + process.env["COMMUNICATION_CONNECTION_STRING"] || ""; async function main() { console.log("== Issue Token Sample =="); diff --git a/sdk/communication/communication-administration/samples/javascript/revokeTokens.js b/sdk/communication/communication-administration/samples/javascript/revokeTokens.js index 13dabb722451..90b256e4ab6f 100644 --- a/sdk/communication/communication-administration/samples/javascript/revokeTokens.js +++ b/sdk/communication/communication-administration/samples/javascript/revokeTokens.js @@ -14,7 +14,7 @@ dotenv.config(); // You will need to set this environment variables or edit the following values const connectionString = - process.env["CONNECTION_STRING"] || ""; + process.env["COMMUNICATION_CONNECTION_STRING"] || ""; async function main() { console.log("== Issue Token Sample =="); diff --git a/sdk/communication/communication-administration/samples/javascript/sample.env b/sdk/communication/communication-administration/samples/javascript/sample.env index 1ba7d7b92f1f..87b7cca169c9 100644 --- a/sdk/communication/communication-administration/samples/javascript/sample.env +++ b/sdk/communication/communication-administration/samples/javascript/sample.env @@ -1,3 +1,3 @@ # Used in most samples. Retrieve these values from a Communication Service instance # in the Azure Portal. -CONNECTION_STRING="endpoint=https://.communication.azure.net/;accessKey=" \ No newline at end of file +COMMUNICATION_CONNECTION_STRING="endpoint=https://.communication.azure.net/;accessKey=" diff --git a/sdk/communication/communication-administration/samples/typescript/README.md b/sdk/communication/communication-administration/samples/typescript/README.md index 5a42c036f75c..44ab8bcce8c7 100644 --- a/sdk/communication/communication-administration/samples/typescript/README.md +++ b/sdk/communication/communication-administration/samples/typescript/README.md @@ -53,7 +53,7 @@ node dist/issueToken.js Alternatively, run a single sample with the correct environment variables set (step 3 is not required if you do this), for example (cross-platform): ```bash -npx cross-env CONNECTION_STRING="" node dist/issueToken.js +npx cross-env COMMUNICATION_CONNECTION_STRING="" node dist/issueToken.js ``` ## Next Steps diff --git a/sdk/communication/communication-administration/samples/typescript/sample.env b/sdk/communication/communication-administration/samples/typescript/sample.env index 1ba7d7b92f1f..87b7cca169c9 100644 --- a/sdk/communication/communication-administration/samples/typescript/sample.env +++ b/sdk/communication/communication-administration/samples/typescript/sample.env @@ -1,3 +1,3 @@ # Used in most samples. Retrieve these values from a Communication Service instance # in the Azure Portal. -CONNECTION_STRING="endpoint=https://.communication.azure.net/;accessKey=" \ No newline at end of file +COMMUNICATION_CONNECTION_STRING="endpoint=https://.communication.azure.net/;accessKey=" diff --git a/sdk/communication/communication-administration/samples/typescript/src/issueToken.ts b/sdk/communication/communication-administration/samples/typescript/src/issueToken.ts index a185e04adfd5..d3980b057894 100644 --- a/sdk/communication/communication-administration/samples/typescript/src/issueToken.ts +++ b/sdk/communication/communication-administration/samples/typescript/src/issueToken.ts @@ -14,7 +14,7 @@ dotenv.config(); // You will need to set this environment variables or edit the following values const connectionString = - process.env["CONNECTION_STRING"] || ""; + process.env["COMMUNICATION_CONNECTION_STRING"] || ""; export const main = async () => { console.log("== Issue Token Sample =="); diff --git a/sdk/communication/communication-administration/samples/typescript/src/revokeTokens.ts b/sdk/communication/communication-administration/samples/typescript/src/revokeTokens.ts index 4e4e6cbf0255..59cf5d0beccf 100644 --- a/sdk/communication/communication-administration/samples/typescript/src/revokeTokens.ts +++ b/sdk/communication/communication-administration/samples/typescript/src/revokeTokens.ts @@ -14,7 +14,7 @@ dotenv.config(); // You will need to set this environment variables or edit the following values const connectionString = - process.env["CONNECTION_STRING"] || ""; + process.env["COMMUNICATION_CONNECTION_STRING"] || ""; export const main = async () => { console.log("== Issue Token Sample =="); diff --git a/sdk/communication/communication-sms/samples/javascript/README.md b/sdk/communication/communication-sms/samples/javascript/README.md index 6f4fdd3f4ed0..d1a8b5eb0671 100644 --- a/sdk/communication/communication-sms/samples/javascript/README.md +++ b/sdk/communication/communication-sms/samples/javascript/README.md @@ -46,7 +46,7 @@ node sendSms.js Alternatively, run a single sample with the correct environment variables set (step 3 is not required if you do this), for example (cross-platform): ```bash -npx cross-env CONNECTION_STRING="" node sendSms.js +npx cross-env COMMUNICATION_CONNECTION_STRING="" node sendSms.js ``` ## Next Steps diff --git a/sdk/communication/communication-sms/samples/javascript/sample.env b/sdk/communication/communication-sms/samples/javascript/sample.env index 1ba7d7b92f1f..87b7cca169c9 100644 --- a/sdk/communication/communication-sms/samples/javascript/sample.env +++ b/sdk/communication/communication-sms/samples/javascript/sample.env @@ -1,3 +1,3 @@ # Used in most samples. Retrieve these values from a Communication Service instance # in the Azure Portal. -CONNECTION_STRING="endpoint=https://.communication.azure.net/;accessKey=" \ No newline at end of file +COMMUNICATION_CONNECTION_STRING="endpoint=https://.communication.azure.net/;accessKey=" diff --git a/sdk/communication/communication-sms/samples/javascript/sendSms.js b/sdk/communication/communication-sms/samples/javascript/sendSms.js index 1835dccc1a83..f29e76928e1c 100644 --- a/sdk/communication/communication-sms/samples/javascript/sendSms.js +++ b/sdk/communication/communication-sms/samples/javascript/sendSms.js @@ -14,7 +14,7 @@ dotenv.config(); // You will need to set this environment variables or edit the following values const connectionString = - process.env["CONNECTION_STRING"] || ""; + process.env["COMMUNICATION_CONNECTION_STRING"] || ""; async function main() { console.log("== Send SMS Message Sample =="); diff --git a/sdk/communication/communication-sms/samples/typescript/README.md b/sdk/communication/communication-sms/samples/typescript/README.md index cd36ea448fa4..884730d39b6a 100644 --- a/sdk/communication/communication-sms/samples/typescript/README.md +++ b/sdk/communication/communication-sms/samples/typescript/README.md @@ -52,7 +52,7 @@ node dist/sendSms.js Alternatively, run a single sample with the correct environment variables set (step 3 is not required if you do this), for example (cross-platform): ```bash -npx cross-env CONNECTION_STRING="" node dist/sendSms.js +npx cross-env COMMUNICATION_CONNECTION_STRING="" node dist/sendSms.js ``` ## Next Steps diff --git a/sdk/communication/communication-sms/samples/typescript/sample.env b/sdk/communication/communication-sms/samples/typescript/sample.env index 1ba7d7b92f1f..87b7cca169c9 100644 --- a/sdk/communication/communication-sms/samples/typescript/sample.env +++ b/sdk/communication/communication-sms/samples/typescript/sample.env @@ -1,3 +1,3 @@ # Used in most samples. Retrieve these values from a Communication Service instance # in the Azure Portal. -CONNECTION_STRING="endpoint=https://.communication.azure.net/;accessKey=" \ No newline at end of file +COMMUNICATION_CONNECTION_STRING="endpoint=https://.communication.azure.net/;accessKey=" diff --git a/sdk/communication/communication-sms/samples/typescript/src/sendSms.ts b/sdk/communication/communication-sms/samples/typescript/src/sendSms.ts index da256945a05f..4a2bba4cb451 100644 --- a/sdk/communication/communication-sms/samples/typescript/src/sendSms.ts +++ b/sdk/communication/communication-sms/samples/typescript/src/sendSms.ts @@ -14,7 +14,7 @@ dotenv.config(); // You will need to set this environment variables or edit the following values const connectionString = - process.env["CONNECTION_STRING"] || ""; + process.env["COMMUNICATION_CONNECTION_STRING"] || ""; export const main = async () => { console.log("== Send SMS Message Sample ==");