From d9360fece856fb259dd33b4b2b643ebe71945915 Mon Sep 17 00:00:00 2001 From: Markus Tacker Date: Wed, 7 Apr 2021 13:53:26 +0200 Subject: [PATCH] feat(fota): add ADUGroup tag for all devices --- cli/commands/create-ca-intermediate.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/commands/create-ca-intermediate.ts b/cli/commands/create-ca-intermediate.ts index 7c4327037..7e88bb035 100644 --- a/cli/commands/create-ca-intermediate.ts +++ b/cli/commands/create-ca-intermediate.ts @@ -59,7 +59,9 @@ export const createCAIntermediateCommand = ({ migrateDeviceData: true, updateHubAssignment: true, }, - initialTwin: undefined as any, + initialTwin: { + tags: { ADUGroup: 'all' }, // Register support for Azure Device Update + } as any, iotHubHostName: undefined as any, iotHubs: undefined as any, etag: undefined as any,