Skip to main content

Azure Service Connector - Cloud

image.png

In dieser Dokumentation wird die Erstellung und Konfiguration des Azure Service Connectors in der Azure Cloud Variante beschrieben.

Es ist empfohlen bei der Erstellung und Konfiguration der benötigten Komponenten, ein Texteditor geöffnet zu haben, um gleichzeitig wichtige Werte zwischenzuspeichern. 

Inhalt

  1. App Registrierung

  2. SQL Server
  3. SQL Datenbank
    1. Firewall Einstellungen

    2. Connection String
  4. App Service
    1. Identity Status
  5. KeyVault
    1. Secrets Erstellen
  6. Deployment
  7. Start
  8. Troubleshooting

1. App Registrierung

Es muss eine App Registrierung durchgeführt werden. Danach sollten die Application ID, Tenant ID, Client Secret  in einem Text-Editor zwischengespeichert werden. Ein Anleitung zur Erstellung einer App Registration befindet sich hier.

2. SQL Server

Der Azure Service Connector benötigt eine SQL Datenbank. Diese muss innerhalb eines SQL Database Servers angelegt werden. Wenn innerhalb von Azure bereits ein SQL Database Server existiert, der verwendet werden kann, ist die Erstellung dieses SQL Database Servers nicht notwendig und es kann direkt eine SQL Database angelegt werden.

Es wird für die spätere Konfiugration des Azure Service Connectors das Passwort des Server Admins benötigt!

Die folgenden Screenshots zeigen, welche Einstellungen vorgenommen werden müssen.

image.png

image.png

image.png

3. SQL Database

Der Azure Service Connector benötigt zum Abspeichern der Daten eine Microsoft SQL Server Datenbank, die innerhalb von Microsoft Azure eingerichtet werden muss.

Die folgenden Screenshots zeigen, welche Einstellungen vorgenommen werden müssen.

Azure Db erstellen (1).png

Azure Db erstellen (2).png

Die benötigte Rechenleistung und die dadurch entstehenden Kosten können je nach Anforderung und Einsatz abweichen. Eine Kostenplanung kann mit dem Microsoft Preisrechner erstellt werden.

Azure Db erstellen (3).png

Azure Db erstellen (7).png

Danach kann die Datenbank erstellt werden.

3.1 Firewall Einstellungen

Damit der App Service und Benutzer auf die Datenbank zugreifen können muss die Firewall Eintsellung angepasst werden.

image.png

image.png

3.2 Connection String

Für die Konfiguration des Azure Service Connectors und zum speichern als Secret im KeyVault, sofern einer verwendet wird, wird der Connection String der Datenbank benötigt.

Dafür muss bei der erstellten Datenbank, unter "Connection strings" der "ADO.NET (SQL Authentication)" Connection String verwendet werden.

Der Connection String sollte in einem Texteditor zwischen gespeichert werden.

Innerhalb des Connection Strings muss der Wert "{your Password}", mit dem Admin Passwort ersetzt werden, das beim Erstellen des SQL Servers vergeben wurde.

image.png

3.3 Datenbank Schema

Da es Technisch nicht möglich ist, dass Datenbank Schema per Setup zu definieren muss dieser Schritt manuell ausgeführt werden. 

Dazu müssen die Folgenden SQL-Befehle in der Aufgeführten Reihenfolge ausgeführt werden:

1. SQL-Schema
IF OBJECT_ID(N'[__EFMigrationsHistory]') IS NULL
BEGIN
    CREATE TABLE [__EFMigrationsHistory] (
        [MigrationId] nvarchar(150) NOT NULL,
        [ProductVersion] nvarchar(32) NOT NULL,
        CONSTRAINT [PK___EFMigrationsHistory] PRIMARY KEY ([MigrationId])
    );

IF SCHEMA_ID(N'asc') IS NULL EXEC(N'CREATE SCHEMA [asc];');


CREATE TABLE [asc].[GraphSource] (
[Id] int NOT NULL IDENTITY,
[ResourceSourceType] int NOT NULL,
[Description] nvarchar(512) NULL,
[Path] nvarchar(256) NOT NULL,
[DependsOnResourceType] int NOT NULL,
CONSTRAINT [PK_GraphSource] PRIMARY KEY ([Id])
);


CREATE TABLE [asc].[ResourceTemplate] (
[Id] int NOT NULL IDENTITY,
[Name] nvarchar(max) NULL,
[Json] nvarchar(max) NULL,
[IsCustom] bit NOT NULL,
CONSTRAINT [PK_ResourceTemplate] PRIMARY KEY ([Id])
);


CREATE TABLE [asc].[ScheduleAppointment] (
[Id] int NOT NULL IDENTITY,
[AppointmentType] int NOT NULL,
[StartDate] datetime2 NOT NULL,
[EndDate] datetime2 NOT NULL,
[Caption] nvarchar(128) NULL,
[Description] nvarchar(256) NULL,
[Recurrence] nvarchar(256) NULL,
[Label] int NULL,
[OneTimeJobId] nvarchar(128) NULL,
[RecurringJobId] nvarchar(128) NULL,
[Location] nvarchar(128) NULL,
[Status] int NOT NULL,
[AllDay] bit NOT NULL,
[ResourceId] int NULL,
CONSTRAINT [PK_ScheduleAppointment] PRIMARY KEY ([Id])
);


CREATE TABLE [asc].[UploadResourceTemplate] (
[Id] uniqueidentifier NOT NULL,
[FileName] nvarchar(max) NULL,
[Json] nvarchar(max) NULL,
[Uploaded] datetime2 NOT NULL,
CONSTRAINT [PK_UploadResourceTemplate] PRIMARY KEY ([Id])
);


CREATE TABLE [asc].[SourceProperty] (
[Id] uniqueidentifier NOT NULL,
[ParentPropertyId] uniqueidentifier NULL,
[Name] nvarchar(128) NOT NULL,
[DataType] nvarchar(128) NOT NULL,
[IsHidden] bit NOT NULL,
[ApiVersion] int NOT NULL,
[Relation] int NOT NULL,
[ResourceSourceType] int NOT NULL,
[ApplicableFilters] int NOT NULL,
[GraphSourceId] int NULL,
CONSTRAINT [PK_SourceProperty] PRIMARY KEY ([Id]),
CONSTRAINT [FK_SourceProperty_GraphSource_GraphSourceId] FOREIGN KEY ([GraphSourceId]) REFERENCES [asc].[GraphSource] ([Id]) ON DELETE NO ACTION,
CONSTRAINT [FK_SourceProperty_SourceProperty_ParentPropertyId] FOREIGN KEY ([ParentPropertyId]) REFERENCES [asc].[SourceProperty] ([Id]) ON DELETE NO ACTION
);


CREATE TABLE [asc].[Node] (
[Id] int NOT NULL IDENTITY,
[Name] nvarchar(128) NOT NULL,
[TableName] nvarchar(128) NOT NULL,
[ViewName] nvarchar(128) NOT NULL,
[GraphSourceId] int NOT NULL,
[CustomViewName] nvarchar(max) NULL,
[CustomViewSql] nvarchar(max) NULL,
[IsCustomViewEnabled] bit NOT NULL,
[IsCustomViewUpdateRequired] bit NOT NULL,
[DependsOnNodeId] int NULL,
[DependsOnNodeColumnId] int NULL,
CONSTRAINT [PK_Node] PRIMARY KEY ([Id]),
CONSTRAINT [FK_Node_GraphSource_GraphSourceId] FOREIGN KEY ([GraphSourceId]) REFERENCES [asc].[GraphSource] ([Id]) ON DELETE CASCADE,
CONSTRAINT [FK_Node_Node_DependsOnNodeId] FOREIGN KEY ([DependsOnNodeId]) REFERENCES [asc].[Node] ([Id]) ON DELETE NO ACTION
);


CREATE TABLE [asc].[Filter] (
[Id] int NOT NULL IDENTITY,
[NodeId] int NOT NULL,
[SourcePropertyId] uniqueidentifier NOT NULL,
[Value] nvarchar(max) NOT NULL,
[Condition] int NOT NULL,
[Relation] int NOT NULL,
CONSTRAINT [PK_Filter] PRIMARY KEY ([Id]),
CONSTRAINT [FK_Filter_Node_NodeId] FOREIGN KEY ([NodeId]) REFERENCES [asc].[Node] ([Id]) ON DELETE CASCADE,
CONSTRAINT [FK_Filter_SourceProperty_SourcePropertyId] FOREIGN KEY ([SourcePropertyId]) REFERENCES [asc].[SourceProperty] ([Id]) ON DELETE CASCADE
);


CREATE TABLE [asc].[NodeHistory] (
[Id] int NOT NULL IDENTITY,
[NodeId] int NOT NULL,
[Inserted] int NOT NULL,
[Updated] int NOT NULL,
[Deleted] int NOT NULL,
[Count] int NOT NULL,
[ExecutionStartTime] datetime2 NOT NULL,
[ExecutionEndTime] datetime2 NULL,
CONSTRAINT [PK_NodeHistory] PRIMARY KEY ([Id]),
CONSTRAINT [FK_NodeHistory_Node_NodeId] FOREIGN KEY ([NodeId]) REFERENCES [asc].[Node] ([Id]) ON DELETE CASCADE
);


CREATE TABLE [asc].[NodeMapping] (
[Id] int NOT NULL IDENTITY,
[NodeId] int NOT NULL,
[ColumnName] nvarchar(128) NOT NULL,
[SourcePropertyId] uniqueidentifier NOT NULL,
CONSTRAINT [PK_NodeMapping] PRIMARY KEY ([Id]),
CONSTRAINT [FK_NodeMapping_Node_NodeId] FOREIGN KEY ([NodeId]) REFERENCES [asc].[Node] ([Id]) ON DELETE CASCADE,
CONSTRAINT [FK_NodeMapping_SourceProperty_SourcePropertyId] FOREIGN KEY ([SourcePropertyId]) REFERENCES [asc].[SourceProperty] ([Id]) ON DELETE CASCADE
);


CREATE TABLE [asc].[NodeScheduleAppointment] (
[NodesId] int NOT NULL,
[ScheduleAppointmentMemberOfId] int NOT NULL,
CONSTRAINT [PK_NodeScheduleAppointment] PRIMARY KEY ([NodesId], [ScheduleAppointmentMemberOfId]),
CONSTRAINT [FK_NodeScheduleAppointment_Node_NodesId] FOREIGN KEY ([NodesId]) REFERENCES [asc].[Node] ([Id]) ON DELETE CASCADE,
CONSTRAINT [FK_NodeScheduleAppointment_ScheduleAppointment_ScheduleAppointmentMemberOfId] FOREIGN KEY ([ScheduleAppointmentMemberOfId]) REFERENCES [asc].[ScheduleAppointment] ([Id]) ON DELETE CASCADE
);


CREATE TABLE [asc].[PendingAction] (
[Id] int NOT NULL IDENTITY,
[Action] int NOT NULL,
[NodeId] int NULL,
[NodeMappingId] int NULL,
CONSTRAINT [PK_PendingAction] PRIMARY KEY ([Id]),
CONSTRAINT [FK_PendingAction_Node_NodeId] FOREIGN KEY ([NodeId]) REFERENCES [asc].[Node] ([Id]) ON DELETE NO ACTION,
CONSTRAINT [FK_PendingAction_NodeMapping_NodeMappingId] FOREIGN KEY ([NodeMappingId]) REFERENCES [asc].[NodeMapping] ([Id]) ON DELETE NO ACTION
);


CREATE TABLE [dbo].[LicenseDescription](
[skuId] [uniqueidentifier] NOT NULL,
[name] [nvarchar](256) NOT NULL,
[stringId] [nvarchar](256) NOT NULL,
CONSTRAINT [PK_LicenseDescription] PRIMARY KEY CLUSTERED 
(
[skuId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY];


CREATE INDEX [IX_Filter_NodeId] ON [asc].[Filter] ([NodeId]);


CREATE INDEX [IX_Filter_SourcePropertyId] ON [asc].[Filter] ([SourcePropertyId]);


CREATE INDEX [IX_Node_DependsOnNodeColumnId] ON [asc].[Node] ([DependsOnNodeColumnId]);


CREATE INDEX [IX_Node_DependsOnNodeId] ON [asc].[Node] ([DependsOnNodeId]);


CREATE INDEX [IX_Node_GraphSourceId] ON [asc].[Node] ([GraphSourceId]);


CREATE INDEX [IX_NodeHistory_NodeId] ON [asc].[NodeHistory] ([NodeId]);


CREATE INDEX [IX_NodeMapping_NodeId] ON [asc].[NodeMapping] ([NodeId]);


CREATE INDEX [IX_NodeMapping_SourcePropertyId] ON [asc].[NodeMapping] ([SourcePropertyId]);


CREATE INDEX [IX_NodeScheduleAppointment_ScheduleAppointmentMemberOfId] ON [asc].[NodeScheduleAppointment] ([ScheduleAppointmentMemberOfId]);


CREATE INDEX [IX_PendingAction_NodeId] ON [asc].[PendingAction] ([NodeId]);


CREATE INDEX [IX_PendingAction_NodeMappingId] ON [asc].[PendingAction] ([NodeMappingId]);


CREATE INDEX [IX_SourceProperty_GraphSourceId] ON [asc].[SourceProperty] ([GraphSourceId]);


CREATE UNIQUE INDEX [IX_SourceProperty_Name_ResourceSourceType] ON [asc].[SourceProperty] ([Name], [ResourceSourceType]);


CREATE INDEX [IX_SourceProperty_ParentPropertyId] ON [asc].[SourceProperty] ([ParentPropertyId]);


ALTER TABLE [asc].[Node] ADD CONSTRAINT [FK_Nodes_Nodes_DependsOnColumnId] FOREIGN KEY ([DependsOnNodeColumnId]) REFERENCES [asc].[NodeMapping] ([Id]) ON DELETE NO ACTION;


END;

2. Graph Source

-- 1.1.8.0

IF NOT EXISTS (SELECT object_id FROM sys.columns WHERE object_id = OBJECT_ID(N'[asc].[GraphSource]') AND [name] = 'TimePeriodDays')
BEGIN
ALTER TABLE [asc].[GraphSource] ADD [TimePeriodDays] INT NULL;
END

GO

SET IDENTITY_INSERT [asc].[GraphSource] ON

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '4')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('4', '1', 'User', 'users', '0', '0')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '1', [Description] = 'User', [Path] = 'users', [DependsOnResourceType] = '0', [TimePeriodDays] = '0' WHERE [Id] = '4'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '6')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('6', '2', 'Group', 'groups', '0', '0')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '2', [Description] = 'Group', [Path] = 'groups', [DependsOnResourceType] = '0', [TimePeriodDays] = '0' WHERE [Id] = '6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '7')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('7', '3', 'Device', 'devices', '0', '0')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '3', [Description] = 'Device', [Path] = 'devices', [DependsOnResourceType] = '0', [TimePeriodDays] = '0' WHERE [Id] = '7'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '8')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('8', '4', 'Organization', 'organization', '0', '0')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '4', [Description] = 'Organization', [Path] = 'organization', [DependsOnResourceType] = '0', [TimePeriodDays] = '0' WHERE [Id] = '8'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '9')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('9', '5', 'Assigned License', 'user/{id}/assignedLicenses', '1', '0')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '5', [Description] = 'Assigned License', [Path] = 'user/{id}/assignedLicenses', [DependsOnResourceType] = '1', [TimePeriodDays] = '0' WHERE [Id] = '9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '10')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('10', '6', 'Managed Device', 'deviceManagement/managedDevices', '0', '0')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '6', [Description] = 'Managed Device', [Path] = 'deviceManagement/managedDevices', [DependsOnResourceType] = '0', [TimePeriodDays] = '0' WHERE [Id] = '10'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '11')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('11', '7', 'Device Encryption State', 'deviceManagement/managedDeviceEncryptionStates', '0', '0')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '7', [Description] = 'Device Encryption State', [Path] = 'deviceManagement/managedDeviceEncryptionStates', [DependsOnResourceType] = '0', [TimePeriodDays] = '0' WHERE [Id] = '11'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '12')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('12', '2', 'Group', 'groups?$select=assignedLicenses&$filter=assignedLicenses/any()', '0', '0')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '2', [Description] = 'Group', [Path] = 'groups?$select=assignedLicenses&$filter=assignedLicenses/any()', [DependsOnResourceType] = '0', [TimePeriodDays] = '0' WHERE [Id] = '12'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '13')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('13', '1', 'User', 'groups/{id}/members', '12', '0')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '1', [Description] = 'User', [Path] = 'groups/{id}/members', [DependsOnResourceType] = '12', [TimePeriodDays] = '0' WHERE [Id] = '13'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '14')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('14', '8', 'Device Configuration', 'deviceManagement/deviceConfigurations', '0', '0')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '8', [Description] = 'Device Configuration', [Path] = 'deviceManagement/deviceConfigurations', [DependsOnResourceType] = '0', [TimePeriodDays] = '0' WHERE [Id] = '14'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '15')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('15', '9', 'Group Assignement', 'deviceManagement/deviceConfigurations/{id}/groupAssignments', '14', '0')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '9', [Description] = 'Group Assignement', [Path] = 'deviceManagement/deviceConfigurations/{id}/groupAssignments', [DependsOnResourceType] = '14', [TimePeriodDays] = '0' WHERE [Id] = '15'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '16')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('16', '10', 'SharePoint Settings', 'admin/sharepoint/settings', '0', '0')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '10', [Description] = 'SharePoint Settings', [Path] = 'admin/sharepoint/settings', [DependsOnResourceType] = '0', [TimePeriodDays] = '0' WHERE [Id] = '16'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '17')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('17', '11', 'SharePoint Settings Sharing Allowed Domains', 'admin/sharepoint/settings?$select=sharingAllowedDomainList', '0', '0')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '11', [Description] = 'SharePoint Settings Sharing Allowed Domains', [Path] = 'admin/sharepoint/settings?$select=sharingAllowedDomainList', [DependsOnResourceType] = '0', [TimePeriodDays] = '0' WHERE [Id] = '17'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '18')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('18', '12', 'SharePoint Settings Sharing Blocked Domains', 'admin/sharepoint/settings?$select=sharingBlockedDomainList', '0', '0')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '12', [Description] = 'SharePoint Settings Sharing Blocked Domains', [Path] = 'admin/sharepoint/settings?$select=sharingBlockedDomainList', [DependsOnResourceType] = '0', [TimePeriodDays] = '0' WHERE [Id] = '18'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '19')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('19', '13', 'SharePoint Settings Excluded File Extensions For Sync App', 'admin/sharepoint/settings?$select=excludedFileExtensionsForSyncApp', '0', '0')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '13', [Description] = 'SharePoint Settings Excluded File Extensions For Sync App', [Path] = 'admin/sharepoint/settings?$select=excludedFileExtensionsForSyncApp', [DependsOnResourceType] = '0', [TimePeriodDays] = '0' WHERE [Id] = '19'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '20')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('20', '14', 'SharePointSettings Available Managed Paths For Site Creation', 'admin/sharepoint/settings?$select=availableManagedPathsForSiteCreation', '0', '0')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '14', [Description] = 'SharePointSettings Available Managed Paths For Site Creation', [Path] = 'admin/sharepoint/settings?$select=availableManagedPathsForSiteCreation', [DependsOnResourceType] = '0', [TimePeriodDays] = '0' WHERE [Id] = '20'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '21')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('21', '15', 'SharePointS ettings Allowed Domain Guids For Sync App', 'admin/sharepoint/settings?$select=allowedDomainGuidsForSyncApp', '0', '0')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '15', [Description] = 'SharePointS ettings Allowed Domain Guids For Sync App', [Path] = 'admin/sharepoint/settings?$select=allowedDomainGuidsForSyncApp', [DependsOnResourceType] = '0', [TimePeriodDays] = '0' WHERE [Id] = '21'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '22')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('22', '16', 'Pstn Call Log Row', 'communications/callRecords/getPstnCalls(fromDateTime={fromDate},toDateTime={toDate})', '0', '7')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '16', [Description] = 'Pstn Call Log Row', [Path] = 'communications/callRecords/getPstnCalls(fromDateTime={fromDate},toDateTime={toDate})', [DependsOnResourceType] = '0', [TimePeriodDays] = '7' WHERE [Id] = '22'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '23')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('23', '2', 'Teams Teams', 'groups?$filter=resourceProvisioningOptions/Any(x:x eq ''Team'')', '0', '0')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '2', [Description] = 'Teams Teams', [Path] = 'groups?$filter=resourceProvisioningOptions/Any(x:x eq ''Team'')', [DependsOnResourceType] = '0', [TimePeriodDays] = '0' WHERE [Id] = '23'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '24')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('24', '17', 'Teams Channels', 'teams/{id}/channels', '23', '0')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '17', [Description] = 'Teams Channels', [Path] = 'teams/{id}/channels', [DependsOnResourceType] = '23', [TimePeriodDays] = '0' WHERE [Id] = '24'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '25')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('25', '1', 'Teams Member', 'groups/{id}/members', '23', '0')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '1', [Description] = 'Teams Member', [Path] = 'groups/{id}/members', [DependsOnResourceType] = '23', [TimePeriodDays] = '0' WHERE [Id] = '25'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '26')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('26', '18', 'Teams User Activity', 'reports/getTeamsUserActivityUserDetail(period=''{period}'')', '0', '15')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '18', [Description] = 'Teams User Activity', [Path] = 'reports/getTeamsUserActivityUserDetail(period=''{period}'')', [DependsOnResourceType] = '0', [TimePeriodDays] = '15' WHERE [Id] = '26'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '27')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('27', '19', 'Teams Team Activity', 'reports/getTeamsTeamActivityDetail(period=''{period}'')', '0', '15')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '19', [Description] = 'Teams Team Activity', [Path] = 'reports/getTeamsTeamActivityDetail(period=''{period}'')', [DependsOnResourceType] = '0', [TimePeriodDays] = '15' WHERE [Id] = '27'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '28')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('28', '20', 'Teams Device Usage', 'reports/getTeamsDeviceUsageUserDetail(period=''{period}'')', '0', '15')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '20', [Description] = 'Teams Device Usage', [Path] = 'reports/getTeamsDeviceUsageUserDetail(period=''{period}'')', [DependsOnResourceType] = '0', [TimePeriodDays] = '15' WHERE [Id] = '28'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '29')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('29', '21', 'M365 App Usage', 'reports/getM365AppUserDetail(period=''{period}'')', '0', '15')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '21', [Description] = 'M365 App Usage', [Path] = 'reports/getM365AppUserDetail(period=''{period}'')', [DependsOnResourceType] = '0', [TimePeriodDays] = '15' WHERE [Id] = '29'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '30')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('30', '22', 'M365 Activations', 'reports/getOffice365ActivationsUserDetail', '0', '0')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '22', [Description] = 'M365 Activations', [Path] = 'reports/getOffice365ActivationsUserDetail', [DependsOnResourceType] = '0', [TimePeriodDays] = '0' WHERE [Id] = '30'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '31')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('31', '23', 'M365 Active Users', 'reports/getOffice365ActiveUserDetail(period=''{period}'')', '0', '15')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '23', [Description] = 'M365 Active Users', [Path] = 'reports/getOffice365ActiveUserDetail(period=''{period}'')', [DependsOnResourceType] = '0', [TimePeriodDays] = '15' WHERE [Id] = '31'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '32')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('32', '24', 'M365 Groups Activity', 'reports/getOffice365GroupsActivityDetail(period=''{period}'')', '0', '15')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '24', [Description] = 'M365 Groups Activity', [Path] = 'reports/getOffice365GroupsActivityDetail(period=''{period}'')', [DependsOnResourceType] = '0', [TimePeriodDays] = '15' WHERE [Id] = '32'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '33')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('33', '25', 'SharePoint Activity', 'reports/getSharePointActivityUserDetail(period=''{period}'')', '0', '15')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '25', [Description] = 'SharePoint Activity', [Path] = 'reports/getSharePointActivityUserDetail(period=''{period}'')', [DependsOnResourceType] = '0', [TimePeriodDays] = '15' WHERE [Id] = '33'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '34')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('34', '26', 'SharePoint Site Usage', 'reports/getSharePointSiteUsageDetail(period=''{period}'')', '0', '15')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '26', [Description] = 'SharePoint Site Usage', [Path] = 'reports/getSharePointSiteUsageDetail(period=''{period}'')', [DependsOnResourceType] = '0', [TimePeriodDays] = '15' WHERE [Id] = '34'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '35')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('35', '27', 'OneDrive Activity', 'reports/getOneDriveActivityUserDetail(period=''{period}'')', '0', '15')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '27', [Description] = 'OneDrive Activity', [Path] = 'reports/getOneDriveActivityUserDetail(period=''{period}'')', [DependsOnResourceType] = '0', [TimePeriodDays] = '15' WHERE [Id] = '35'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '36')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('36', '28', 'One Drive Usage', 'reports/getOneDriveUsageAccountDetail(period=''{period}'')', '0', '15')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '28', [Description] = 'One Drive Usage', [Path] = 'reports/getOneDriveUsageAccountDetail(period=''{period}'')', [DependsOnResourceType] = '0', [TimePeriodDays] = '15' WHERE [Id] = '36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '37')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('37', '29', 'Outlook Activity', 'reports/getEmailActivityUserDetail(period=''{period}'')', '0', '15')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '29', [Description] = 'Outlook Activity', [Path] = 'reports/getEmailActivityUserDetail(period=''{period}'')', [DependsOnResourceType] = '0', [TimePeriodDays] = '15' WHERE [Id] = '37'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '38')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('38', '30', 'Outlook App Usage', 'reports/getEmailAppUsageUserDetail(period=''{period}'')', '0', '15')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '30', [Description] = 'Outlook App Usage', [Path] = 'reports/getEmailAppUsageUserDetail(period=''{period}'')', [DependsOnResourceType] = '0', [TimePeriodDays] = '15' WHERE [Id] = '38'

IF NOT EXISTS (SELECT [Id] FROM [asc].[GraphSource] WHERE [Id] = '39')
INSERT [asc].[GraphSource] ([Id], [ResourceSourceType], [Description], [Path], [DependsOnResourceType], [TimePeriodDays]) VALUES ('39', '31', 'Outlook Mailbox Usage', 'reports/getMailboxUsageDetail(period=''{period}'')', '0', '15')
ELSE
UPDATE [asc].[GraphSource] SET [ResourceSourceType] = '31', [Description] = 'Outlook Mailbox Usage', [Path] = 'reports/getMailboxUsageDetail(period=''{period}'')', [DependsOnResourceType] = '0', [TimePeriodDays] = '15' WHERE [Id] = '39'

SET IDENTITY_INSERT [asc].[GraphSource] OFF

ALTER TABLE [asc].[GraphSource] ALTER COLUMN [TimePeriodDays] INT NOT NULL;
3. Node
IF NOT EXISTS (SELECT object_id FROM sys.columns WHERE object_id = OBJECT_ID(N'[asc].[Node]') AND [name] = 'TimePeriodDays')
BEGIN
ALTER TABLE [asc].[Node] ADD [TimePeriodDays] INT NULL;

EXEC sp_executesql N'UPDATE [asc].[Node] SET [TimePeriodDays] = 0;'
END

ALTER TABLE [asc].[Node] ALTER COLUMN [TimePeriodDays] INT NOT NULL;
4. Source Property

-- 1.1.8.0

IF NOT EXISTS (SELECT object_id FROM sys.columns WHERE object_id = OBJECT_ID(N'[asc].[SourceProperty]') AND [name] = 'ApplicableFilters')
BEGIN
ALTER TABLE [asc].[SourceProperty] ADD [ApplicableFilters] INT NULL;
END

GO

DROP INDEX [IX_SourceProperty_Name_ResourceSourceType] ON [asc].[SourceProperty]
GO


IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0b7d095a-d97b-4322-bc2f-0340aed5dd58')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0b7d095a-d97b-4322-bc2f-0340aed5dd58', NULL, 'fileVaultStates', 'System.String', '0', '2', '1', '7', '0', '11')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'fileVaultStates', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '2', [Relation] = '1', [ResourceSourceType] = '7', [ApplicableFilters] = '0', [GraphSourceId] = '11' WHERE [Id] = '0b7d095a-d97b-4322-bc2f-0340aed5dd58'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'da1bc28a-1fda-48d4-a97c-075a7aa8e774')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('da1bc28a-1fda-48d4-a97c-075a7aa8e774', NULL, 'encryptionPolicySettingState', 'System.String', '1', '2', '0', '7', '0', '11')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'encryptionPolicySettingState', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '7', [ApplicableFilters] = '0', [GraphSourceId] = '11' WHERE [Id] = 'da1bc28a-1fda-48d4-a97c-075a7aa8e774'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd9adccbd-1f5c-4d73-aa3a-08313a64ab5a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d9adccbd-1f5c-4d73-aa3a-08313a64ab5a', NULL, 'manufacturer', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'manufacturer', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'd9adccbd-1f5c-4d73-aa3a-08313a64ab5a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8a79e63f-1341-4b06-adaa-08bf853c1120')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8a79e63f-1341-4b06-adaa-08bf853c1120', NULL, 'extension', 'System.String', '0', '1', '0', '13', '0', '19')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'extension', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '13', [ApplicableFilters] = '0', [GraphSourceId] = '19' WHERE [Id] = '8a79e63f-1341-4b06-adaa-08bf853c1120'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd031da02-bf32-41e5-e57a-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d031da02-bf32-41e5-e57a-08d9534b1e5e', NULL, 'signInActivity', 'Microsoft.Graph.SignInActivity', '0', '2', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'signInActivity', [DataType] = 'Microsoft.Graph.SignInActivity', [IsHidden] = '0', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = 'd031da02-bf32-41e5-e57a-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '184612a9-9b1f-4860-e57b-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('184612a9-9b1f-4860-e57b-08d9534b1e5e', NULL, 'accountEnabled', 'System.Boolean', '1', '1', '0', '1', '1', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'accountEnabled', [DataType] = 'System.Boolean', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '1', [GraphSourceId] = '4' WHERE [Id] = '184612a9-9b1f-4860-e57b-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9395c362-83e5-4346-e57c-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9395c362-83e5-4346-e57c-08d9534b1e5e', NULL, 'ageGroup', 'System.String', '1', '1', '0', '1', '1', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'ageGroup', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '1', [GraphSourceId] = '4' WHERE [Id] = '9395c362-83e5-4346-e57c-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'dae9a91d-77fb-4727-e57d-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('dae9a91d-77fb-4727-e57d-08d9534b1e5e', NULL, 'assignedLicenses', 'System.Collections.Generic.List`1[Microsoft.Graph.AssignedLicense]', '1', '1', '1', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'assignedLicenses', [DataType] = 'System.Collections.Generic.List`1[Microsoft.Graph.AssignedLicense]', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = 'dae9a91d-77fb-4727-e57d-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e084ff2a-8335-4f59-e57e-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e084ff2a-8335-4f59-e57e-08d9534b1e5e', NULL, 'assignedPlans', 'System.Collections.Generic.List`1[Microsoft.Graph.AssignedPlan]', '1', '1', '1', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'assignedPlans', [DataType] = 'System.Collections.Generic.List`1[Microsoft.Graph.AssignedPlan]', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = 'e084ff2a-8335-4f59-e57e-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '664ea199-2995-4ccd-e57f-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('664ea199-2995-4ccd-e57f-08d9534b1e5e', NULL, 'businessPhones', 'System.Collections.Generic.List`1[System.String]', '1', '1', '1', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'businessPhones', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '664ea199-2995-4ccd-e57f-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '487fa8f1-d911-4655-e580-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('487fa8f1-d911-4655-e580-08d9534b1e5e', NULL, 'city', 'System.String', '0', '1', '0', '1', '5', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'city', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '5', [GraphSourceId] = '4' WHERE [Id] = '487fa8f1-d911-4655-e580-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '94f7f554-d3ba-4bd2-e581-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('94f7f554-d3ba-4bd2-e581-08d9534b1e5e', NULL, 'companyName', 'System.String', '0', '1', '0', '1', '5', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'companyName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '5', [GraphSourceId] = '4' WHERE [Id] = '94f7f554-d3ba-4bd2-e581-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '834285c7-f8b7-4490-e582-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('834285c7-f8b7-4490-e582-08d9534b1e5e', NULL, 'consentProvidedForMinor', 'System.String', '1', '1', '0', '1', '1', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'consentProvidedForMinor', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '1', [GraphSourceId] = '4' WHERE [Id] = '834285c7-f8b7-4490-e582-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e92f24e2-9309-4d17-e583-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e92f24e2-9309-4d17-e583-08d9534b1e5e', NULL, 'country', 'System.String', '0', '1', '0', '1', '5', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'country', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '5', [GraphSourceId] = '4' WHERE [Id] = 'e92f24e2-9309-4d17-e583-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'afb01b4b-d465-4241-e584-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('afb01b4b-d465-4241-e584-08d9534b1e5e', NULL, 'createdDateTime', 'System.DateTimeOffset', '1', '1', '0', '1', '1', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'createdDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '1', [GraphSourceId] = '4' WHERE [Id] = 'afb01b4b-d465-4241-e584-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0f84dacb-692d-4e14-e585-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0f84dacb-692d-4e14-e585-08d9534b1e5e', NULL, 'creationType', 'System.String', '1', '1', '0', '1', '1', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'creationType', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '1', [GraphSourceId] = '4' WHERE [Id] = '0f84dacb-692d-4e14-e585-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '400c5c60-aba1-45e0-e586-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('400c5c60-aba1-45e0-e586-08d9534b1e5e', NULL, 'department', 'System.String', '0', '1', '0', '1', '5', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'department', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '5', [GraphSourceId] = '4' WHERE [Id] = '400c5c60-aba1-45e0-e586-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b993958b-f66d-4043-e587-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b993958b-f66d-4043-e587-08d9534b1e5e', NULL, 'deviceKeys', 'System.Collections.Generic.List`1[Microsoft.Graph.DeviceKey]', '0', '2', '1', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'deviceKeys', [DataType] = 'System.Collections.Generic.List`1[Microsoft.Graph.DeviceKey]', [IsHidden] = '0', [ApiVersion] = '2', [Relation] = '1', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = 'b993958b-f66d-4043-e587-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd76a227b-b9d7-4070-e588-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d76a227b-b9d7-4070-e588-08d9534b1e5e', NULL, 'displayName', 'System.String', '0', '1', '0', '1', '5', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'displayName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '5', [GraphSourceId] = '4' WHERE [Id] = 'd76a227b-b9d7-4070-e588-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '611e5c93-a1b0-4462-e589-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('611e5c93-a1b0-4462-e589-08d9534b1e5e', NULL, 'employeeHireDate', 'System.DateTimeOffset', '1', '1', '0', '1', '1', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'employeeHireDate', [DataType] = 'System.DateTimeOffset', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '1', [GraphSourceId] = '4' WHERE [Id] = '611e5c93-a1b0-4462-e589-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '279b83e8-5329-4d84-e58a-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('279b83e8-5329-4d84-e58a-08d9534b1e5e', NULL, 'employeeId', 'System.String', '0', '1', '0', '1', '17', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'employeeId', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '17', [GraphSourceId] = '4' WHERE [Id] = '279b83e8-5329-4d84-e58a-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b3d7f81a-8883-4d7c-e58b-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b3d7f81a-8883-4d7c-e58b-08d9534b1e5e', NULL, 'employeeOrgData', 'Microsoft.Graph.EmployeeOrgData', '1', '1', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'employeeOrgData', [DataType] = 'Microsoft.Graph.EmployeeOrgData', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = 'b3d7f81a-8883-4d7c-e58b-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '741e7c0e-0160-4cb6-e58c-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('741e7c0e-0160-4cb6-e58c-08d9534b1e5e', NULL, 'employeeType', 'System.String', '1', '1', '0', '1', '1', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'employeeType', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '1', [GraphSourceId] = '4' WHERE [Id] = '741e7c0e-0160-4cb6-e58c-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'cefaadfa-f399-41f5-e58d-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('cefaadfa-f399-41f5-e58d-08d9534b1e5e', NULL, 'externalUserState', 'System.String', '1', '1', '0', '1', '1', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'externalUserState', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '1', [GraphSourceId] = '4' WHERE [Id] = 'cefaadfa-f399-41f5-e58d-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '22f314b2-86fa-4815-e58e-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('22f314b2-86fa-4815-e58e-08d9534b1e5e', NULL, 'externalUserStateChangeDateTime', 'System.String', '0', '1', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'externalUserStateChangeDateTime', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '22f314b2-86fa-4815-e58e-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8e296cab-a19a-4d92-e58f-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8e296cab-a19a-4d92-e58f-08d9534b1e5e', NULL, 'faxNumber', 'System.String', '1', '1', '0', '1', '21', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'faxNumber', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '21', [GraphSourceId] = '4' WHERE [Id] = '8e296cab-a19a-4d92-e58f-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '7deb8080-46b7-4346-e590-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('7deb8080-46b7-4346-e590-08d9534b1e5e', NULL, 'givenName', 'System.String', '1', '1', '0', '1', '21', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'givenName', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '21', [GraphSourceId] = '4' WHERE [Id] = '7deb8080-46b7-4346-e590-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5d32e41f-bf3a-4ccc-e591-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5d32e41f-bf3a-4ccc-e591-08d9534b1e5e', NULL, 'identities', 'System.Collections.Generic.List`1[Microsoft.Graph.ObjectIdentity]', '1', '1', '1', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'identities', [DataType] = 'System.Collections.Generic.List`1[Microsoft.Graph.ObjectIdentity]', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '5d32e41f-bf3a-4ccc-e591-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '23d4d479-5592-4377-e592-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('23d4d479-5592-4377-e592-08d9534b1e5e', NULL, 'imAddresses', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'imAddresses', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '23d4d479-5592-4377-e592-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e165ea58-ef1f-4b39-e593-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e165ea58-ef1f-4b39-e593-08d9534b1e5e', NULL, 'infoCatalogs', 'System.Collections.Generic.List`1[System.String]', '1', '2', '1', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'infoCatalogs', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '1', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = 'e165ea58-ef1f-4b39-e593-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '14f8dc9f-2117-4201-e594-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('14f8dc9f-2117-4201-e594-08d9534b1e5e', NULL, 'isResourceAccount', 'System.Boolean', '1', '1', '0', '1', '1', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isResourceAccount', [DataType] = 'System.Boolean', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '1', [GraphSourceId] = '4' WHERE [Id] = '14f8dc9f-2117-4201-e594-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4ad0a20f-7362-4cea-e595-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4ad0a20f-7362-4cea-e595-08d9534b1e5e', NULL, 'jobTitle', 'System.String', '1', '1', '0', '1', '21', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'jobTitle', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '21', [GraphSourceId] = '4' WHERE [Id] = '4ad0a20f-7362-4cea-e595-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '621857aa-24fb-4703-e596-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('621857aa-24fb-4703-e596-08d9534b1e5e', NULL, 'lastPasswordChangeDateTime', 'System.DateTimeOffset', '0', '1', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'lastPasswordChangeDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '621857aa-24fb-4703-e596-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a91c1103-da17-4c0e-e597-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a91c1103-da17-4c0e-e597-08d9534b1e5e', NULL, 'legalAgeGroupClassification', 'System.String', '0', '1', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'legalAgeGroupClassification', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = 'a91c1103-da17-4c0e-e597-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '201bddcf-23f0-410f-e598-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('201bddcf-23f0-410f-e598-08d9534b1e5e', NULL, 'licenseAssignmentStates', 'System.Collections.Generic.List`1[Microsoft.Graph.LicenseAssignmentState]', '1', '1', '1', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'licenseAssignmentStates', [DataType] = 'System.Collections.Generic.List`1[Microsoft.Graph.LicenseAssignmentState]', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '201bddcf-23f0-410f-e598-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd5081474-75d0-4601-e599-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d5081474-75d0-4601-e599-08d9534b1e5e', NULL, 'mail', 'System.String', '1', '1', '0', '1', '21', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'mail', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '21', [GraphSourceId] = '4' WHERE [Id] = 'd5081474-75d0-4601-e599-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'dd91a833-8b74-49bd-e59a-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('dd91a833-8b74-49bd-e59a-08d9534b1e5e', NULL, 'mailNickname', 'System.String', '1', '1', '0', '1', '21', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'mailNickname', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '21', [GraphSourceId] = '4' WHERE [Id] = 'dd91a833-8b74-49bd-e59a-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4149b301-2ca1-4814-e59b-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4149b301-2ca1-4814-e59b-08d9534b1e5e', NULL, 'mobilePhone', 'System.String', '1', '1', '0', '1', '21', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'mobilePhone', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '21', [GraphSourceId] = '4' WHERE [Id] = '4149b301-2ca1-4814-e59b-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b08db5ea-2e91-472a-e59c-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b08db5ea-2e91-472a-e59c-08d9534b1e5e', NULL, 'officeLocation', 'System.String', '1', '1', '0', '1', '21', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'officeLocation', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '21', [GraphSourceId] = '4' WHERE [Id] = 'b08db5ea-2e91-472a-e59c-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fed57af6-a148-4e08-e59d-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fed57af6-a148-4e08-e59d-08d9534b1e5e', NULL, 'onPremisesDistinguishedName', 'System.String', '0', '1', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'onPremisesDistinguishedName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = 'fed57af6-a148-4e08-e59d-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '7ce22fe6-1323-47f6-e59e-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('7ce22fe6-1323-47f6-e59e-08d9534b1e5e', NULL, 'onPremisesDomainName', 'System.String', '0', '1', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'onPremisesDomainName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '7ce22fe6-1323-47f6-e59e-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'bdddb947-5214-4417-e59f-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('bdddb947-5214-4417-e59f-08d9534b1e5e', NULL, 'onPremisesExtensionAttributes', 'Microsoft.Graph.OnPremisesExtensionAttributes', '1', '1', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'onPremisesExtensionAttributes', [DataType] = 'Microsoft.Graph.OnPremisesExtensionAttributes', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = 'bdddb947-5214-4417-e59f-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fc1aaec2-bc79-40c8-e5a0-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fc1aaec2-bc79-40c8-e5a0-08d9534b1e5e', NULL, 'onPremisesImmutableId', 'System.String', '1', '1', '0', '1', '1', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'onPremisesImmutableId', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '1', [GraphSourceId] = '4' WHERE [Id] = 'fc1aaec2-bc79-40c8-e5a0-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '10f4e6fc-9a80-4dd5-e5a1-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('10f4e6fc-9a80-4dd5-e5a1-08d9534b1e5e', NULL, 'onPremisesLastSyncDateTime', 'System.DateTimeOffset', '0', '1', '0', '1', '1', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'onPremisesLastSyncDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '1', [GraphSourceId] = '4' WHERE [Id] = '10f4e6fc-9a80-4dd5-e5a1-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '413949ae-2ded-4757-e5a2-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('413949ae-2ded-4757-e5a2-08d9534b1e5e', NULL, 'onPremisesProvisioningErrors', 'System.Collections.Generic.List`1[Microsoft.Graph.OnPremisesProvisioningError]', '1', '1', '1', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'onPremisesProvisioningErrors', [DataType] = 'System.Collections.Generic.List`1[Microsoft.Graph.OnPremisesProvisioningError]', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '413949ae-2ded-4757-e5a2-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '431e3c5f-5965-4924-e5a3-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('431e3c5f-5965-4924-e5a3-08d9534b1e5e', NULL, 'onPremisesSamAccountName', 'System.String', '0', '1', '0', '1', '5', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'onPremisesSamAccountName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '5', [GraphSourceId] = '4' WHERE [Id] = '431e3c5f-5965-4924-e5a3-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9491d28b-dadb-4564-e5a4-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9491d28b-dadb-4564-e5a4-08d9534b1e5e', NULL, 'onPremisesSecurityIdentifier', 'System.String', '0', '1', '0', '1', '17', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'onPremisesSecurityIdentifier', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '17', [GraphSourceId] = '4' WHERE [Id] = '9491d28b-dadb-4564-e5a4-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'af112f42-6fa9-488f-e5a5-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('af112f42-6fa9-488f-e5a5-08d9534b1e5e', NULL, 'onPremisesSyncEnabled', 'System.Boolean', '0', '1', '0', '1', '17', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'onPremisesSyncEnabled', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '17', [GraphSourceId] = '4' WHERE [Id] = 'af112f42-6fa9-488f-e5a5-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8b8ce113-dd06-4269-e5a6-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8b8ce113-dd06-4269-e5a6-08d9534b1e5e', NULL, 'onPremisesUserPrincipalName', 'System.String', '0', '1', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'onPremisesUserPrincipalName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '8b8ce113-dd06-4269-e5a6-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b881fda5-044c-4b97-e5a7-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b881fda5-044c-4b97-e5a7-08d9534b1e5e', NULL, 'otherMails', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'otherMails', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = 'b881fda5-044c-4b97-e5a7-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fe66e76e-72aa-45dc-e5a8-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fe66e76e-72aa-45dc-e5a8-08d9534b1e5e', NULL, 'passwordPolicies', 'System.String', '0', '1', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'passwordPolicies', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = 'fe66e76e-72aa-45dc-e5a8-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd163d6fe-c0df-443c-e5a9-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d163d6fe-c0df-443c-e5a9-08d9534b1e5e', NULL, 'passwordProfile', 'Microsoft.Graph.PasswordProfile', '1', '1', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'passwordProfile', [DataType] = 'Microsoft.Graph.PasswordProfile', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = 'd163d6fe-c0df-443c-e5a9-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4f6461cf-ce16-4ca0-e5aa-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4f6461cf-ce16-4ca0-e5aa-08d9534b1e5e', NULL, 'postalCode', 'System.String', '1', '1', '0', '1', '21', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'postalCode', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '21', [GraphSourceId] = '4' WHERE [Id] = '4f6461cf-ce16-4ca0-e5aa-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9cf38e9f-1f4b-42f3-e5ab-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9cf38e9f-1f4b-42f3-e5ab-08d9534b1e5e', NULL, 'preferredDataLocation', 'System.String', '0', '1', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'preferredDataLocation', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '9cf38e9f-1f4b-42f3-e5ab-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fdf8c85e-b5d9-4c40-e5ac-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fdf8c85e-b5d9-4c40-e5ac-08d9534b1e5e', NULL, 'preferredLanguage', 'System.String', '1', '1', '0', '1', '21', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'preferredLanguage', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '21', [GraphSourceId] = '4' WHERE [Id] = 'fdf8c85e-b5d9-4c40-e5ac-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0148534e-f6d6-449e-e5ad-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0148534e-f6d6-449e-e5ad-08d9534b1e5e', NULL, 'provisionedPlans', 'System.Collections.Generic.List`1[Microsoft.Graph.ProvisionedPlan]', '1', '1', '1', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'provisionedPlans', [DataType] = 'System.Collections.Generic.List`1[Microsoft.Graph.ProvisionedPlan]', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '0148534e-f6d6-449e-e5ad-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4d52a204-4aeb-4116-e5ae-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4d52a204-4aeb-4116-e5ae-08d9534b1e5e', NULL, 'proxyAddresses', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'proxyAddresses', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '4d52a204-4aeb-4116-e5ae-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '67af0b76-87d2-44c2-e5af-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('67af0b76-87d2-44c2-e5af-08d9534b1e5e', NULL, 'refreshTokensValidFromDateTime', 'System.DateTimeOffset', '0', '1', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'refreshTokensValidFromDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '67af0b76-87d2-44c2-e5af-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3f878491-ad53-445a-e5b0-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3f878491-ad53-445a-e5b0-08d9534b1e5e', NULL, 'showInAddressList', 'System.Boolean', '1', '1', '0', '1', '1', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'showInAddressList', [DataType] = 'System.Boolean', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '1', [GraphSourceId] = '4' WHERE [Id] = '3f878491-ad53-445a-e5b0-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6262029b-843c-4c20-e5b1-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6262029b-843c-4c20-e5b1-08d9534b1e5e', NULL, 'signInSessionsValidFromDateTime', 'System.DateTimeOffset', '0', '1', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'signInSessionsValidFromDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '6262029b-843c-4c20-e5b1-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '83f08eda-eea4-43a2-e5b2-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('83f08eda-eea4-43a2-e5b2-08d9534b1e5e', NULL, 'state', 'System.String', '1', '1', '0', '1', '21', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'state', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '21', [GraphSourceId] = '4' WHERE [Id] = '83f08eda-eea4-43a2-e5b2-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5a290f0a-ae37-4610-e5b3-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5a290f0a-ae37-4610-e5b3-08d9534b1e5e', NULL, 'streetAddress', 'System.String', '1', '1', '0', '1', '21', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'streetAddress', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '21', [GraphSourceId] = '4' WHERE [Id] = '5a290f0a-ae37-4610-e5b3-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4e3b881b-bbca-465b-e5b4-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4e3b881b-bbca-465b-e5b4-08d9534b1e5e', NULL, 'surname', 'System.String', '1', '1', '0', '1', '21', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'surname', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '21', [GraphSourceId] = '4' WHERE [Id] = '4e3b881b-bbca-465b-e5b4-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3447286a-4838-4f96-e5b5-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3447286a-4838-4f96-e5b5-08d9534b1e5e', NULL, 'usageLocation', 'System.String', '1', '1', '0', '1', '21', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'usageLocation', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '21', [GraphSourceId] = '4' WHERE [Id] = '3447286a-4838-4f96-e5b5-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '84f4b1ae-9499-4428-e5b6-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('84f4b1ae-9499-4428-e5b6-08d9534b1e5e', NULL, 'userPrincipalName', 'System.String', '0', '1', '0', '1', '5', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'userPrincipalName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '5', [GraphSourceId] = '4' WHERE [Id] = '84f4b1ae-9499-4428-e5b6-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4ef79ae5-a713-4fd0-e5b7-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4ef79ae5-a713-4fd0-e5b7-08d9534b1e5e', NULL, 'userType', 'System.String', '0', '1', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'userType', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '4ef79ae5-a713-4fd0-e5b7-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5d02ac67-f22a-4315-e5b8-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5d02ac67-f22a-4315-e5b8-08d9534b1e5e', NULL, 'mailboxSettings', 'Microsoft.Graph.MailboxSettings', '1', '1', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'mailboxSettings', [DataType] = 'Microsoft.Graph.MailboxSettings', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '5d02ac67-f22a-4315-e5b8-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b1b73b1e-5a6a-4bf5-e5b9-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b1b73b1e-5a6a-4bf5-e5b9-08d9534b1e5e', NULL, 'deviceEnrollmentLimit', 'System.Int32', '0', '1', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'deviceEnrollmentLimit', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = 'b1b73b1e-5a6a-4bf5-e5b9-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0f172ae1-6094-4c84-e5ba-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0f172ae1-6094-4c84-e5ba-08d9534b1e5e', NULL, 'aboutMe', 'System.String', '1', '2', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'aboutMe', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '0f172ae1-6094-4c84-e5ba-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e69af9a7-4419-445b-e5bb-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e69af9a7-4419-445b-e5bb-08d9534b1e5e', NULL, 'birthday', 'System.DateTimeOffset', '0', '1', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'birthday', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = 'e69af9a7-4419-445b-e5bb-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a09bb51b-eea0-48fb-e5bc-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a09bb51b-eea0-48fb-e5bc-08d9534b1e5e', NULL, 'hireDate', 'System.DateTimeOffset', '0', '1', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'hireDate', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = 'a09bb51b-eea0-48fb-e5bc-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '15bc9f2a-d721-4cc8-e5bd-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('15bc9f2a-d721-4cc8-e5bd-08d9534b1e5e', NULL, 'interests', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'interests', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '15bc9f2a-d721-4cc8-e5bd-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0132e4ca-3550-46d5-e5be-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0132e4ca-3550-46d5-e5be-08d9534b1e5e', NULL, 'mySite', 'System.String', '0', '1', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'mySite', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '0132e4ca-3550-46d5-e5be-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '92d60d35-d5f1-44fc-e5bf-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('92d60d35-d5f1-44fc-e5bf-08d9534b1e5e', NULL, 'pastProjects', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'pastProjects', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '92d60d35-d5f1-44fc-e5bf-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c8fe55d7-48e6-418e-e5c0-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c8fe55d7-48e6-418e-e5c0-08d9534b1e5e', NULL, 'preferredName', 'System.String', '0', '1', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'preferredName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = 'c8fe55d7-48e6-418e-e5c0-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c2f60885-42dd-4bed-e5c1-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c2f60885-42dd-4bed-e5c1-08d9534b1e5e', NULL, 'responsibilities', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'responsibilities', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = 'c2f60885-42dd-4bed-e5c1-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '51a6ef80-6ed3-46fe-e5c2-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('51a6ef80-6ed3-46fe-e5c2-08d9534b1e5e', NULL, 'schools', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'schools', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '51a6ef80-6ed3-46fe-e5c2-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '746414d4-645a-493d-e5c3-08d9534b1e5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('746414d4-645a-493d-e5c3-08d9534b1e5e', NULL, 'skills', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'skills', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '746414d4-645a-493d-e5c3-08d9534b1e5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '852e2e45-0e2f-416a-d98a-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('852e2e45-0e2f-416a-d98a-08d9534b3181', NULL, 'assignedLabels', 'System.Collections.Generic.List`1[Microsoft.Graph.AssignedLabel]', '1', '1', '1', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'assignedLabels', [DataType] = 'System.Collections.Generic.List`1[Microsoft.Graph.AssignedLabel]', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '852e2e45-0e2f-416a-d98a-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5e0ebe0e-607d-461b-d98b-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5e0ebe0e-607d-461b-d98b-08d9534b3181', NULL, 'assignedLicenses', 'System.Collections.Generic.List`1[Microsoft.Graph.AssignedLicense]', '1', '1', '1', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'assignedLicenses', [DataType] = 'System.Collections.Generic.List`1[Microsoft.Graph.AssignedLicense]', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '5e0ebe0e-607d-461b-d98b-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e4f0f590-8b4b-4b83-d98c-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e4f0f590-8b4b-4b83-d98c-08d9534b3181', NULL, 'classification', 'System.String', '0', '1', '0', '2', '5', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'classification', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '5', [GraphSourceId] = '6' WHERE [Id] = 'e4f0f590-8b4b-4b83-d98c-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'dc6b72a6-53db-4699-d98d-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('dc6b72a6-53db-4699-d98d-08d9534b3181', NULL, 'createdByAppId', 'System.String', '0', '1', '0', '2', '1', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'createdByAppId', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '1', [GraphSourceId] = '6' WHERE [Id] = 'dc6b72a6-53db-4699-d98d-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c3a91a69-b6fa-4862-d98e-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c3a91a69-b6fa-4862-d98e-08d9534b3181', NULL, 'createdDateTime', 'System.DateTimeOffset', '0', '1', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'createdDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = 'c3a91a69-b6fa-4862-d98e-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1d274a4a-4d50-40a7-d98f-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1d274a4a-4d50-40a7-d98f-08d9534b3181', NULL, 'description', 'System.String', '0', '1', '0', '2', '5', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'description', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '5', [GraphSourceId] = '6' WHERE [Id] = '1d274a4a-4d50-40a7-d98f-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '823d52bb-69ec-4598-d990-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('823d52bb-69ec-4598-d990-08d9534b3181', NULL, 'displayName', 'System.String', '1', '1', '0', '2', '21', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'displayName', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '21', [GraphSourceId] = '6' WHERE [Id] = '823d52bb-69ec-4598-d990-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6a8a7bd4-4c5e-4b58-d991-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6a8a7bd4-4c5e-4b58-d991-08d9534b3181', NULL, 'expirationDateTime', 'System.DateTimeOffset', '1', '1', '0', '2', '1', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'expirationDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '1', [GraphSourceId] = '6' WHERE [Id] = '6a8a7bd4-4c5e-4b58-d991-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b11cd4b7-d6b0-46a0-d992-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b11cd4b7-d6b0-46a0-d992-08d9534b3181', NULL, 'groupTypes', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'groupTypes', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = 'b11cd4b7-d6b0-46a0-d992-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'efafe132-71a5-4638-d993-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('efafe132-71a5-4638-d993-08d9534b3181', NULL, 'hasMembersWithLicenseErrors', 'System.Boolean', '0', '2', '0', '2', '1', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'hasMembersWithLicenseErrors', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '1', [GraphSourceId] = '6' WHERE [Id] = 'efafe132-71a5-4638-d993-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'ca7a15f9-8f0a-4d69-d994-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('ca7a15f9-8f0a-4d69-d994-08d9534b3181', NULL, 'infoCatalogs', 'System.Collections.Generic.List`1[System.String]', '1', '2', '1', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'infoCatalogs', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '1', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = 'ca7a15f9-8f0a-4d69-d994-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '07c2da22-9ebf-48dd-d995-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('07c2da22-9ebf-48dd-d995-08d9534b3181', NULL, 'isAssignableToRole', 'System.Boolean', '1', '2', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isAssignableToRole', [DataType] = 'System.Boolean', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '07c2da22-9ebf-48dd-d995-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '925d75cc-b4c9-4c5f-d996-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('925d75cc-b4c9-4c5f-d996-08d9534b3181', NULL, 'licenseProcessingState', 'Microsoft.Graph.LicenseProcessingState', '1', '1', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'licenseProcessingState', [DataType] = 'Microsoft.Graph.LicenseProcessingState', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '925d75cc-b4c9-4c5f-d996-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '89c637f8-3895-489c-d997-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('89c637f8-3895-489c-d997-08d9534b3181', NULL, 'mail', 'System.String', '0', '1', '0', '2', '5', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'mail', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '5', [GraphSourceId] = '6' WHERE [Id] = '89c637f8-3895-489c-d997-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f72bf026-beda-4e03-d998-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f72bf026-beda-4e03-d998-08d9534b3181', NULL, 'mailEnabled', 'System.Boolean', '1', '1', '0', '2', '1', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'mailEnabled', [DataType] = 'System.Boolean', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '1', [GraphSourceId] = '6' WHERE [Id] = 'f72bf026-beda-4e03-d998-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5cd7d8ba-9dcb-4b8f-d999-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5cd7d8ba-9dcb-4b8f-d999-08d9534b3181', NULL, 'mailNickname', 'System.String', '1', '1', '0', '2', '21', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'mailNickname', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '21', [GraphSourceId] = '6' WHERE [Id] = '5cd7d8ba-9dcb-4b8f-d999-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '402cc2b0-61ad-4737-d99a-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('402cc2b0-61ad-4737-d99a-08d9534b3181', NULL, 'mdmAppId', 'System.String', '1', '2', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'mdmAppId', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '402cc2b0-61ad-4737-d99a-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c4b2908c-357b-4da4-d99b-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c4b2908c-357b-4da4-d99b-08d9534b3181', NULL, 'membershipRule', 'System.String', '0', '1', '0', '2', '5', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'membershipRule', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '5', [GraphSourceId] = '6' WHERE [Id] = 'c4b2908c-357b-4da4-d99b-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a5a571fa-bd2f-4986-d99c-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a5a571fa-bd2f-4986-d99c-08d9534b3181', NULL, 'membershipRuleProcessingState', 'System.String', '0', '1', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'membershipRuleProcessingState', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = 'a5a571fa-bd2f-4986-d99c-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'df913997-2874-44a0-d99d-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('df913997-2874-44a0-d99d-08d9534b3181', NULL, 'onPremisesDomainName', 'System.String', '0', '1', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'onPremisesDomainName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = 'df913997-2874-44a0-d99d-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '584d259b-40af-41a4-d99e-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('584d259b-40af-41a4-d99e-08d9534b3181', NULL, 'onPremisesLastSyncDateTime', 'System.DateTimeOffset', '1', '1', '0', '2', '1', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'onPremisesLastSyncDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '1', [GraphSourceId] = '6' WHERE [Id] = '584d259b-40af-41a4-d99e-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9dbf7f4f-e69c-4b72-d99f-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9dbf7f4f-e69c-4b72-d99f-08d9534b3181', NULL, 'onPremisesNetBiosName', 'System.String', '0', '1', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'onPremisesNetBiosName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '9dbf7f4f-e69c-4b72-d99f-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4de9b33a-272a-4acb-d9a0-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4de9b33a-272a-4acb-d9a0-08d9534b3181', NULL, 'onPremisesProvisioningErrors', 'System.Collections.Generic.List`1[Microsoft.Graph.OnPremisesProvisioningError]', '1', '1', '1', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'onPremisesProvisioningErrors', [DataType] = 'System.Collections.Generic.List`1[Microsoft.Graph.OnPremisesProvisioningError]', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '4de9b33a-272a-4acb-d9a0-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '2e366452-99c5-4379-d9a1-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('2e366452-99c5-4379-d9a1-08d9534b3181', NULL, 'onPremisesSamAccountName', 'System.String', '0', '1', '0', '2', '5', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'onPremisesSamAccountName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '5', [GraphSourceId] = '6' WHERE [Id] = '2e366452-99c5-4379-d9a1-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8691789e-1ec2-49f2-d9a2-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8691789e-1ec2-49f2-d9a2-08d9534b3181', NULL, 'onPremisesSecurityIdentifier', 'System.String', '1', '1', '0', '2', '1', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'onPremisesSecurityIdentifier', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '1', [GraphSourceId] = '6' WHERE [Id] = '8691789e-1ec2-49f2-d9a2-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fc6ddded-dadf-4395-d9a3-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fc6ddded-dadf-4395-d9a3-08d9534b3181', NULL, 'onPremisesSyncEnabled', 'System.Boolean', '1', '1', '0', '2', '1', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'onPremisesSyncEnabled', [DataType] = 'System.Boolean', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '1', [GraphSourceId] = '6' WHERE [Id] = 'fc6ddded-dadf-4395-d9a3-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '832068db-12b5-450b-d9a4-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('832068db-12b5-450b-d9a4-08d9534b3181', NULL, 'organizationId', 'System.String', '1', '2', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'organizationId', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '832068db-12b5-450b-d9a4-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e6b10852-a7df-4050-d9a5-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e6b10852-a7df-4050-d9a5-08d9534b3181', NULL, 'preferredDataLocation', 'System.String', '0', '1', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'preferredDataLocation', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = 'e6b10852-a7df-4050-d9a5-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '62ddccac-fa69-4425-d9a6-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('62ddccac-fa69-4425-d9a6-08d9534b3181', NULL, 'preferredLanguage', 'System.String', '1', '1', '0', '2', '21', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'preferredLanguage', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '21', [GraphSourceId] = '6' WHERE [Id] = '62ddccac-fa69-4425-d9a6-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '59500025-dff3-437c-d9a7-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('59500025-dff3-437c-d9a7-08d9534b3181', NULL, 'proxyAddresses', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'proxyAddresses', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '59500025-dff3-437c-d9a7-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a895bcd8-d4d5-443c-d9a8-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a895bcd8-d4d5-443c-d9a8-08d9534b3181', NULL, 'renewedDateTime', 'System.DateTimeOffset', '1', '1', '0', '2', '1', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'renewedDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '1', [GraphSourceId] = '6' WHERE [Id] = 'a895bcd8-d4d5-443c-d9a8-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1bca22e9-16be-4ca8-d9a9-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1bca22e9-16be-4ca8-d9a9-08d9534b3181', NULL, 'resourceBehaviorOptions', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'resourceBehaviorOptions', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '1bca22e9-16be-4ca8-d9a9-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3d512a87-e010-4f0f-d9aa-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3d512a87-e010-4f0f-d9aa-08d9534b3181', NULL, 'resourceProvisioningOptions', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'resourceProvisioningOptions', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '3d512a87-e010-4f0f-d9aa-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3c7369b1-1e88-482a-d9ab-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3c7369b1-1e88-482a-d9ab-08d9534b3181', NULL, 'securityEnabled', 'System.Boolean', '1', '1', '0', '2', '1', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'securityEnabled', [DataType] = 'System.Boolean', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '1', [GraphSourceId] = '6' WHERE [Id] = '3c7369b1-1e88-482a-d9ab-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '772f31e4-476c-413d-d9ac-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('772f31e4-476c-413d-d9ac-08d9534b3181', NULL, 'securityIdentifier', 'System.String', '0', '1', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'securityIdentifier', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '772f31e4-476c-413d-d9ac-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c820a213-3f0a-45ef-d9ad-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c820a213-3f0a-45ef-d9ad-08d9534b3181', NULL, 'theme', 'System.String', '0', '1', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'theme', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = 'c820a213-3f0a-45ef-d9ad-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '00906f12-ac2f-421a-d9ae-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('00906f12-ac2f-421a-d9ae-08d9534b3181', NULL, 'visibility', 'System.String', '0', '1', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'visibility', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '00906f12-ac2f-421a-d9ae-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '340ee163-89bf-40d3-d9af-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('340ee163-89bf-40d3-d9af-08d9534b3181', NULL, 'accessType', 'Microsoft.Graph.GroupAccessType', '0', '2', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'accessType', [DataType] = 'Microsoft.Graph.GroupAccessType', [IsHidden] = '0', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '340ee163-89bf-40d3-d9af-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '38c3aaed-d924-4d75-d9b0-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('38c3aaed-d924-4d75-d9b0-08d9534b3181', NULL, 'allowExternalSenders', 'System.Boolean', '1', '2', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'allowExternalSenders', [DataType] = 'System.Boolean', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '38c3aaed-d924-4d75-d9b0-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '597dc513-a70e-4afc-d9b1-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('597dc513-a70e-4afc-d9b1-08d9534b3181', NULL, 'autoSubscribeNewMembers', 'System.Boolean', '1', '2', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'autoSubscribeNewMembers', [DataType] = 'System.Boolean', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '597dc513-a70e-4afc-d9b1-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '7f7d8e8e-96e4-46ff-d9b2-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('7f7d8e8e-96e4-46ff-d9b2-08d9534b3181', NULL, 'hideFromAddressLists', 'System.Boolean', '0', '1', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'hideFromAddressLists', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '7f7d8e8e-96e4-46ff-d9b2-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '052c0e2c-e17a-48d2-d9b3-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('052c0e2c-e17a-48d2-d9b3-08d9534b3181', NULL, 'hideFromOutlookClients', 'System.Boolean', '0', '1', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'hideFromOutlookClients', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '052c0e2c-e17a-48d2-d9b3-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'abeb40f9-60a6-46c3-d9b4-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('abeb40f9-60a6-46c3-d9b4-08d9534b3181', NULL, 'isFavorite', 'System.Boolean', '1', '2', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isFavorite', [DataType] = 'System.Boolean', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = 'abeb40f9-60a6-46c3-d9b4-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '91e1cb21-6c98-4a12-d9b5-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('91e1cb21-6c98-4a12-d9b5-08d9534b3181', NULL, 'isSubscribedByMail', 'System.Boolean', '0', '1', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isSubscribedByMail', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '91e1cb21-6c98-4a12-d9b5-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9436a9bc-0b8d-4c90-d9b6-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9436a9bc-0b8d-4c90-d9b6-08d9534b3181', NULL, 'unseenConversationsCount', 'System.Int32', '1', '2', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'unseenConversationsCount', [DataType] = 'System.Int32', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '9436a9bc-0b8d-4c90-d9b6-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'bb7de00f-5152-4861-d9b7-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('bb7de00f-5152-4861-d9b7-08d9534b3181', NULL, 'unseenCount', 'System.Int32', '0', '1', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'unseenCount', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = 'bb7de00f-5152-4861-d9b7-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1a89c395-6030-4e6a-d9b8-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1a89c395-6030-4e6a-d9b8-08d9534b3181', NULL, 'unseenMessagesCount', 'System.Int32', '1', '2', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'unseenMessagesCount', [DataType] = 'System.Int32', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '1a89c395-6030-4e6a-d9b8-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1470d090-81d5-4109-d9b9-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1470d090-81d5-4109-d9b9-08d9534b3181', NULL, 'membershipRuleProcessingStatus', 'Microsoft.Graph.MembershipRuleProcessingStatus', '0', '2', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'membershipRuleProcessingStatus', [DataType] = 'Microsoft.Graph.MembershipRuleProcessingStatus', [IsHidden] = '0', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '1470d090-81d5-4109-d9b9-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e480620c-088b-4b8e-d9ba-08d9534b3181')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e480620c-088b-4b8e-d9ba-08d9534b3181', NULL, 'isArchived', 'System.Boolean', '0', '1', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isArchived', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = 'e480620c-088b-4b8e-d9ba-08d9534b3181'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '48f69155-5f25-462c-d041-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('48f69155-5f25-462c-d041-08d9534b40f9', NULL, 'accountEnabled', 'System.Boolean', '0', '1', '0', '3', '1', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'accountEnabled', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '1', [GraphSourceId] = '7' WHERE [Id] = '48f69155-5f25-462c-d041-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '7b079e55-8bd4-4c08-d042-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('7b079e55-8bd4-4c08-d042-08d9534b40f9', NULL, 'alternativeSecurityIds', 'System.Collections.Generic.List`1[Microsoft.Graph.AlternativeSecurityId]', '1', '1', '1', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'alternativeSecurityIds', [DataType] = 'System.Collections.Generic.List`1[Microsoft.Graph.AlternativeSecurityId]', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = '7b079e55-8bd4-4c08-d042-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'efa14aa6-8f02-404e-d043-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('efa14aa6-8f02-404e-d043-08d9534b40f9', NULL, 'approximateLastSignInDateTime', 'System.DateTimeOffset', '0', '1', '0', '3', '1', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'approximateLastSignInDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '1', [GraphSourceId] = '7' WHERE [Id] = 'efa14aa6-8f02-404e-d043-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '59a76f61-3851-49b8-d044-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('59a76f61-3851-49b8-d044-08d9534b40f9', NULL, 'complianceExpirationDateTime', 'System.DateTimeOffset', '1', '1', '0', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'complianceExpirationDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = '59a76f61-3851-49b8-d044-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '7f9753e9-911f-46be-d045-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('7f9753e9-911f-46be-d045-08d9534b40f9', NULL, 'deviceCategory', 'System.String', '0', '1', '0', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'deviceCategory', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = '7f9753e9-911f-46be-d045-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b3607d8a-a6e4-42d6-d046-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b3607d8a-a6e4-42d6-d046-08d9534b40f9', NULL, 'deviceId', 'System.String', '0', '1', '0', '3', '1', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'deviceId', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '1', [GraphSourceId] = '7' WHERE [Id] = 'b3607d8a-a6e4-42d6-d046-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0448f23c-26b3-4f9a-d047-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0448f23c-26b3-4f9a-d047-08d9534b40f9', NULL, 'deviceMetadata', 'System.String', '0', '1', '0', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'deviceMetadata', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = '0448f23c-26b3-4f9a-d047-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1361bb9c-317f-4b96-d048-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1361bb9c-317f-4b96-d048-08d9534b40f9', NULL, 'deviceOwnership', 'System.String', '0', '1', '0', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'deviceOwnership', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = '1361bb9c-317f-4b96-d048-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'ec2e0aa0-2dd5-4efe-d049-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('ec2e0aa0-2dd5-4efe-d049-08d9534b40f9', NULL, 'deviceVersion', 'System.Int32', '0', '1', '0', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'deviceVersion', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = 'ec2e0aa0-2dd5-4efe-d049-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c006593f-4d39-4384-d04a-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c006593f-4d39-4384-d04a-08d9534b40f9', NULL, 'displayName', 'System.String', '0', '1', '0', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'displayName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = 'c006593f-4d39-4384-d04a-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '88763732-caa0-4611-d04b-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('88763732-caa0-4611-d04b-08d9534b40f9', NULL, 'domainName', 'System.String', '0', '1', '0', '3', '21', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'domainName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '21', [GraphSourceId] = '7' WHERE [Id] = '88763732-caa0-4611-d04b-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e741cd48-a852-43ee-d04c-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e741cd48-a852-43ee-d04c-08d9534b40f9', NULL, 'enrollmentProfileName', 'System.String', '0', '1', '0', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'enrollmentProfileName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = 'e741cd48-a852-43ee-d04c-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '60b0d021-0bcc-4ce1-d04d-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('60b0d021-0bcc-4ce1-d04d-08d9534b40f9', NULL, 'enrollmentType', 'System.String', '0', '1', '0', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'enrollmentType', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = '60b0d021-0bcc-4ce1-d04d-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '457fa07c-1432-4542-d04e-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('457fa07c-1432-4542-d04e-08d9534b40f9', NULL, 'extensionAttributes', 'Microsoft.Graph.OnPremisesExtensionAttributes', '1', '1', '0', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'extensionAttributes', [DataType] = 'Microsoft.Graph.OnPremisesExtensionAttributes', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = '457fa07c-1432-4542-d04e-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'bdec6586-8d66-4962-d04f-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('bdec6586-8d66-4962-d04f-08d9534b40f9', NULL, 'hostnames', 'System.Collections.Generic.List`1[System.String]', '1', '2', '1', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'hostnames', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '1', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = 'bdec6586-8d66-4962-d04f-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5dd84fa7-ee4b-4aca-d050-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5dd84fa7-ee4b-4aca-d050-08d9534b40f9', NULL, 'isCompliant', 'System.Boolean', '0', '1', '0', '3', '1', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isCompliant', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '1', [GraphSourceId] = '7' WHERE [Id] = '5dd84fa7-ee4b-4aca-d050-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6469168b-b770-4215-d051-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6469168b-b770-4215-d051-08d9534b40f9', NULL, 'isManaged', 'System.Boolean', '0', '1', '0', '3', '1', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isManaged', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '1', [GraphSourceId] = '7' WHERE [Id] = '6469168b-b770-4215-d051-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f4d784ce-a79b-4ec1-d052-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f4d784ce-a79b-4ec1-d052-08d9534b40f9', NULL, 'isRooted', 'System.Boolean', '0', '1', '0', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isRooted', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = 'f4d784ce-a79b-4ec1-d052-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '877875f9-b9db-4648-d053-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('877875f9-b9db-4648-d053-08d9534b40f9', NULL, 'managementType', 'System.String', '0', '1', '0', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'managementType', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = '877875f9-b9db-4648-d053-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '68026aa0-cc4d-434c-d054-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('68026aa0-cc4d-434c-d054-08d9534b40f9', NULL, 'onPremisesLastSyncDateTime', 'System.DateTimeOffset', '0', '1', '0', '3', '17', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'onPremisesLastSyncDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '17', [GraphSourceId] = '7' WHERE [Id] = '68026aa0-cc4d-434c-d054-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fc54257e-5346-4b3f-d055-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fc54257e-5346-4b3f-d055-08d9534b40f9', NULL, 'onPremisesSyncEnabled', 'System.Boolean', '0', '1', '0', '3', '1', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'onPremisesSyncEnabled', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '1', [GraphSourceId] = '7' WHERE [Id] = 'fc54257e-5346-4b3f-d055-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e9834a07-f3b0-48f0-d056-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e9834a07-f3b0-48f0-d056-08d9534b40f9', NULL, 'operatingSystem', 'System.String', '0', '1', '0', '3', '21', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'operatingSystem', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '21', [GraphSourceId] = '7' WHERE [Id] = 'e9834a07-f3b0-48f0-d056-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8e060794-13be-4703-d057-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8e060794-13be-4703-d057-08d9534b40f9', NULL, 'operatingSystemVersion', 'System.String', '0', '1', '0', '3', '21', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'operatingSystemVersion', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '21', [GraphSourceId] = '7' WHERE [Id] = '8e060794-13be-4703-d057-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '058fb2aa-2457-468a-d058-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('058fb2aa-2457-468a-d058-08d9534b40f9', NULL, 'physicalIds', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'physicalIds', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = '058fb2aa-2457-468a-d058-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '32219332-ed24-4198-d059-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('32219332-ed24-4198-d059-08d9534b40f9', NULL, 'profileType', 'System.String', '0', '1', '0', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'profileType', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = '32219332-ed24-4198-d059-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '38945f36-4aef-4592-d05a-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('38945f36-4aef-4592-d05a-08d9534b40f9', NULL, 'registrationDateTime', 'System.DateTimeOffset', '0', '1', '0', '3', '1', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'registrationDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '1', [GraphSourceId] = '7' WHERE [Id] = '38945f36-4aef-4592-d05a-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'bc897132-cb3d-4f85-d05b-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('bc897132-cb3d-4f85-d05b-08d9534b40f9', NULL, 'systemLabels', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'systemLabels', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = 'bc897132-cb3d-4f85-d05b-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0860fd1b-9259-4179-d05c-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0860fd1b-9259-4179-d05c-08d9534b40f9', NULL, 'trustType', 'System.String', '0', '1', '0', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'trustType', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = '0860fd1b-9259-4179-d05c-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '69e4ba85-bc50-46c6-d05d-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('69e4ba85-bc50-46c6-d05d-08d9534b40f9', NULL, 'kind', 'System.String', '0', '2', '0', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'kind', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = '69e4ba85-bc50-46c6-d05d-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd7ba1055-4bf8-4a5f-d05e-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d7ba1055-4bf8-4a5f-d05e-08d9534b40f9', NULL, 'manufacturer', 'System.String', '0', '1', '0', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'manufacturer', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = 'd7ba1055-4bf8-4a5f-d05e-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd9d2e889-f22c-499e-d05f-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d9d2e889-f22c-499e-d05f-08d9534b40f9', NULL, 'model', 'System.String', '0', '1', '0', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'model', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = 'd9d2e889-f22c-499e-d05f-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '93a99121-f281-421a-d060-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('93a99121-f281-421a-d060-08d9534b40f9', NULL, 'name', 'System.String', '0', '2', '0', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = '93a99121-f281-421a-d060-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6620e967-f436-435a-d061-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6620e967-f436-435a-d061-08d9534b40f9', NULL, 'platform', 'System.String', '1', '2', '0', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'platform', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = '6620e967-f436-435a-d061-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '2d5851c3-11aa-4849-d062-08d9534b40f9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('2d5851c3-11aa-4849-d062-08d9534b40f9', NULL, 'status', 'System.String', '1', '2', '0', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'status', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = '2d5851c3-11aa-4849-d062-08d9534b40f9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c904d4ca-6efc-471a-b40f-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c904d4ca-6efc-471a-b40f-08d9534b557f', NULL, 'assignedPlans', 'System.Collections.Generic.List`1[Microsoft.Graph.AssignedPlan]', '1', '1', '1', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'assignedPlans', [DataType] = 'System.Collections.Generic.List`1[Microsoft.Graph.AssignedPlan]', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = 'c904d4ca-6efc-471a-b40f-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '759c826f-8ff1-4fbc-b410-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('759c826f-8ff1-4fbc-b410-08d9534b557f', NULL, 'businessPhones', 'System.Collections.Generic.List`1[System.String]', '1', '1', '1', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'businessPhones', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = '759c826f-8ff1-4fbc-b410-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fd1267bb-e2eb-4c78-b411-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fd1267bb-e2eb-4c78-b411-08d9534b557f', NULL, 'city', 'System.String', '0', '1', '0', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'city', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = 'fd1267bb-e2eb-4c78-b411-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9ace5e0b-24bb-44cb-b412-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9ace5e0b-24bb-44cb-b412-08d9534b557f', NULL, 'country', 'System.String', '0', '1', '0', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'country', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = '9ace5e0b-24bb-44cb-b412-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fef0ff92-cd9b-44c5-b413-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fef0ff92-cd9b-44c5-b413-08d9534b557f', NULL, 'countryLetterCode', 'System.String', '0', '1', '0', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'countryLetterCode', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = 'fef0ff92-cd9b-44c5-b413-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8995a3c4-4518-4f5e-b414-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8995a3c4-4518-4f5e-b414-08d9534b557f', NULL, 'createdDateTime', 'System.DateTimeOffset', '0', '1', '0', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'createdDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = '8995a3c4-4518-4f5e-b414-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '589a81d1-3a71-462b-b415-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('589a81d1-3a71-462b-b415-08d9534b557f', NULL, 'directorySizeQuota', 'Microsoft.Graph.DirectorySizeQuota', '0', '2', '0', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'directorySizeQuota', [DataType] = 'Microsoft.Graph.DirectorySizeQuota', [IsHidden] = '0', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = '589a81d1-3a71-462b-b415-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'bebadfd3-9f33-4f25-b416-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('bebadfd3-9f33-4f25-b416-08d9534b557f', NULL, 'displayName', 'System.String', '0', '1', '0', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'displayName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = 'bebadfd3-9f33-4f25-b416-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c2d75ada-f221-4415-b417-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c2d75ada-f221-4415-b417-08d9534b557f', NULL, 'isMultipleDataLocationsForServicesEnabled', 'System.Boolean', '0', '1', '0', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isMultipleDataLocationsForServicesEnabled', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = 'c2d75ada-f221-4415-b417-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'cdeb293c-e964-4499-b418-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('cdeb293c-e964-4499-b418-08d9534b557f', NULL, 'marketingNotificationEmails', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'marketingNotificationEmails', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = 'cdeb293c-e964-4499-b418-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e5ade2ca-8264-483a-b419-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e5ade2ca-8264-483a-b419-08d9534b557f', NULL, 'onPremisesLastSyncDateTime', 'System.DateTimeOffset', '0', '1', '0', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'onPremisesLastSyncDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = 'e5ade2ca-8264-483a-b419-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '07759a5d-5a80-424f-b41a-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('07759a5d-5a80-424f-b41a-08d9534b557f', NULL, 'onPremisesSyncEnabled', 'System.Boolean', '0', '1', '0', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'onPremisesSyncEnabled', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = '07759a5d-5a80-424f-b41a-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'cbd23bc3-6e8f-4d26-b41b-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('cbd23bc3-6e8f-4d26-b41b-08d9534b557f', NULL, 'postalCode', 'System.String', '0', '1', '0', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'postalCode', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = 'cbd23bc3-6e8f-4d26-b41b-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1709e6d7-0681-48ab-b41c-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1709e6d7-0681-48ab-b41c-08d9534b557f', NULL, 'preferredLanguage', 'System.String', '0', '1', '0', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'preferredLanguage', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = '1709e6d7-0681-48ab-b41c-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '25907c12-8876-4a04-b41d-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('25907c12-8876-4a04-b41d-08d9534b557f', NULL, 'privacyProfile', 'Microsoft.Graph.PrivacyProfile', '1', '1', '0', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'privacyProfile', [DataType] = 'Microsoft.Graph.PrivacyProfile', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = '25907c12-8876-4a04-b41d-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '335db5ee-1448-44be-b41e-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('335db5ee-1448-44be-b41e-08d9534b557f', NULL, 'provisionedPlans', 'System.Collections.Generic.List`1[Microsoft.Graph.ProvisionedPlan]', '1', '1', '1', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'provisionedPlans', [DataType] = 'System.Collections.Generic.List`1[Microsoft.Graph.ProvisionedPlan]', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = '335db5ee-1448-44be-b41e-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b50895bb-20d5-42f1-b41f-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b50895bb-20d5-42f1-b41f-08d9534b557f', NULL, 'securityComplianceNotificationMails', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'securityComplianceNotificationMails', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = 'b50895bb-20d5-42f1-b41f-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e5ebc506-aaef-47d9-b420-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e5ebc506-aaef-47d9-b420-08d9534b557f', NULL, 'securityComplianceNotificationPhones', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'securityComplianceNotificationPhones', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = 'e5ebc506-aaef-47d9-b420-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'bbc348ed-9881-4283-b421-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('bbc348ed-9881-4283-b421-08d9534b557f', NULL, 'state', 'System.String', '0', '1', '0', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'state', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = 'bbc348ed-9881-4283-b421-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '151de607-ec71-4a82-b422-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('151de607-ec71-4a82-b422-08d9534b557f', NULL, 'street', 'System.String', '0', '1', '0', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'street', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = '151de607-ec71-4a82-b422-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '526de228-3267-4afa-b423-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('526de228-3267-4afa-b423-08d9534b557f', NULL, 'technicalNotificationMails', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'technicalNotificationMails', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = '526de228-3267-4afa-b423-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '06c17fcb-54a7-4928-b424-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('06c17fcb-54a7-4928-b424-08d9534b557f', NULL, 'verifiedDomains', 'System.Collections.Generic.List`1[Microsoft.Graph.VerifiedDomain]', '1', '1', '1', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'verifiedDomains', [DataType] = 'System.Collections.Generic.List`1[Microsoft.Graph.VerifiedDomain]', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = '06c17fcb-54a7-4928-b424-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '2fb17ca7-a8f4-4d5e-b425-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('2fb17ca7-a8f4-4d5e-b425-08d9534b557f', NULL, 'certificateConnectorSetting', 'Microsoft.Graph.CertificateConnectorSetting', '0', '2', '0', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'certificateConnectorSetting', [DataType] = 'Microsoft.Graph.CertificateConnectorSetting', [IsHidden] = '0', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = '2fb17ca7-a8f4-4d5e-b425-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '523b9514-ae6d-4f41-b426-08d9534b557f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('523b9514-ae6d-4f41-b426-08d9534b557f', NULL, 'mobileDeviceManagementAuthority', 'Microsoft.Graph.MdmAuthority', '1', '1', '0', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'mobileDeviceManagementAuthority', [DataType] = 'Microsoft.Graph.MdmAuthority', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = '523b9514-ae6d-4f41-b426-08d9534b557f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c87bc383-029a-405d-428d-08d9534b680a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c87bc383-029a-405d-428d-08d9534b680a', NULL, 'servicePlans', 'System.Collections.Generic.List`1[Microsoft.Graph.ServicePlanInfo]', '1', '1', '1', '5', '0', '9')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'servicePlans', [DataType] = 'System.Collections.Generic.List`1[Microsoft.Graph.ServicePlanInfo]', [IsHidden] = '1', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '5', [ApplicableFilters] = '0', [GraphSourceId] = '9' WHERE [Id] = 'c87bc383-029a-405d-428d-08d9534b680a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'dbc6ca9c-01d0-422e-428e-08d9534b680a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('dbc6ca9c-01d0-422e-428e-08d9534b680a', NULL, 'skuId', 'System.Guid', '0', '1', '0', '5', '0', '9')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'skuId', [DataType] = 'System.Guid', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '5', [ApplicableFilters] = '0', [GraphSourceId] = '9' WHERE [Id] = 'dbc6ca9c-01d0-422e-428e-08d9534b680a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '57c5dd02-4a10-4353-428f-08d9534b680a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('57c5dd02-4a10-4353-428f-08d9534b680a', NULL, 'skuPartNumber', 'System.String', '0', '1', '0', '5', '0', '9')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'skuPartNumber', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '5', [ApplicableFilters] = '0', [GraphSourceId] = '9' WHERE [Id] = '57c5dd02-4a10-4353-428f-08d9534b680a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '7c9652bb-49ff-49fd-7503-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('7c9652bb-49ff-49fd-7503-08d9e25ba937', NULL, 'accountsBlockAddingNonMicrosoftAccountEmail', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'accountsBlockAddingNonMicrosoftAccountEmail', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '7c9652bb-49ff-49fd-7503-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4b484956-fcf9-4023-7504-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4b484956-fcf9-4023-7504-08d9e25ba937', NULL, 'activateAppsWithVoice', 'Microsoft.Graph.Enablement', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'activateAppsWithVoice', [DataType] = 'Microsoft.Graph.Enablement', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '4b484956-fcf9-4023-7504-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1503aabd-9996-4a4e-7505-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1503aabd-9996-4a4e-7505-08d9e25ba937', NULL, 'antiTheftModeBlocked', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'antiTheftModeBlocked', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '1503aabd-9996-4a4e-7505-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f983bda9-0f27-4105-7506-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f983bda9-0f27-4105-7506-08d9e25ba937', NULL, 'appManagementMSIAllowUserControlOverInstall', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'appManagementMSIAllowUserControlOverInstall', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'f983bda9-0f27-4105-7506-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '24d36b73-90e6-4f5a-7507-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('24d36b73-90e6-4f5a-7507-08d9e25ba937', NULL, 'appManagementMSIAlwaysInstallWithElevatedPrivileges', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'appManagementMSIAlwaysInstallWithElevatedPrivileges', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '24d36b73-90e6-4f5a-7507-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5669c4fd-bf13-4398-7508-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5669c4fd-bf13-4398-7508-08d9e25ba937', NULL, 'appManagementPackageFamilyNamesToLaunchAfterLogOn', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'appManagementPackageFamilyNamesToLaunchAfterLogOn', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '5669c4fd-bf13-4398-7508-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '7a449bfb-ca79-4871-7509-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('7a449bfb-ca79-4871-7509-08d9e25ba937', NULL, 'appsAllowTrustedAppsSideloading', 'Microsoft.Graph.StateManagementSetting', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'appsAllowTrustedAppsSideloading', [DataType] = 'Microsoft.Graph.StateManagementSetting', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '7a449bfb-ca79-4871-7509-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a78ef66f-c2de-4b0d-750a-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a78ef66f-c2de-4b0d-750a-08d9e25ba937', NULL, 'appsBlockWindowsStoreOriginatedApps', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'appsBlockWindowsStoreOriginatedApps', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'a78ef66f-c2de-4b0d-750a-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '64b630ad-7bd6-47ed-750b-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('64b630ad-7bd6-47ed-750b-08d9e25ba937', NULL, 'authenticationAllowSecondaryDevice', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'authenticationAllowSecondaryDevice', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '64b630ad-7bd6-47ed-750b-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '7efa4924-6a9c-4e9a-750c-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('7efa4924-6a9c-4e9a-750c-08d9e25ba937', NULL, 'authenticationPreferredAzureADTenantDomainName', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'authenticationPreferredAzureADTenantDomainName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '7efa4924-6a9c-4e9a-750c-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '79008c38-e8e4-43a4-750d-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('79008c38-e8e4-43a4-750d-08d9e25ba937', NULL, 'authenticationWebSignIn', 'Microsoft.Graph.Enablement', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'authenticationWebSignIn', [DataType] = 'Microsoft.Graph.Enablement', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '79008c38-e8e4-43a4-750d-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd72e904c-1107-47a6-750e-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d72e904c-1107-47a6-750e-08d9e25ba937', NULL, 'bluetoothAllowedServices', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'bluetoothAllowedServices', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'd72e904c-1107-47a6-750e-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f7698700-b5a8-4368-750f-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f7698700-b5a8-4368-750f-08d9e25ba937', NULL, 'bluetoothBlockAdvertising', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'bluetoothBlockAdvertising', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'f7698700-b5a8-4368-750f-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '786b9468-f0d4-4ea5-7510-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('786b9468-f0d4-4ea5-7510-08d9e25ba937', NULL, 'bluetoothBlockDiscoverableMode', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'bluetoothBlockDiscoverableMode', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '786b9468-f0d4-4ea5-7510-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9f03a429-957c-4848-7511-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9f03a429-957c-4848-7511-08d9e25ba937', NULL, 'bluetoothBlocked', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'bluetoothBlocked', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '9f03a429-957c-4848-7511-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '86ceb589-5252-4633-7512-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('86ceb589-5252-4633-7512-08d9e25ba937', NULL, 'bluetoothBlockPrePairing', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'bluetoothBlockPrePairing', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '86ceb589-5252-4633-7512-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '978ee964-c429-49f5-7513-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('978ee964-c429-49f5-7513-08d9e25ba937', NULL, 'bluetoothBlockPromptedProximalConnections', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'bluetoothBlockPromptedProximalConnections', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '978ee964-c429-49f5-7513-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '81b95635-dae6-4978-7514-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('81b95635-dae6-4978-7514-08d9e25ba937', NULL, 'cameraBlocked', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'cameraBlocked', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '81b95635-dae6-4978-7514-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1d1c45f7-1dd5-4917-7515-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1d1c45f7-1dd5-4917-7515-08d9e25ba937', NULL, 'cellularBlockDataWhenRoaming', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'cellularBlockDataWhenRoaming', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '1d1c45f7-1dd5-4917-7515-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9acedf11-c58f-43a5-7516-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9acedf11-c58f-43a5-7516-08d9e25ba937', NULL, 'cellularBlockVpn', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'cellularBlockVpn', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '9acedf11-c58f-43a5-7516-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '39d09beb-5097-49aa-7517-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('39d09beb-5097-49aa-7517-08d9e25ba937', NULL, 'cellularBlockVpnWhenRoaming', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'cellularBlockVpnWhenRoaming', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '39d09beb-5097-49aa-7517-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b55643e7-91ea-4c97-7518-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b55643e7-91ea-4c97-7518-08d9e25ba937', NULL, 'cellularData', 'Microsoft.Graph.ConfigurationUsage', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'cellularData', [DataType] = 'Microsoft.Graph.ConfigurationUsage', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'b55643e7-91ea-4c97-7518-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a199ed9e-d245-4083-7519-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a199ed9e-d245-4083-7519-08d9e25ba937', NULL, 'certificatesBlockManualRootCertificateInstallation', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'certificatesBlockManualRootCertificateInstallation', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'a199ed9e-d245-4083-7519-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e903d58c-78f8-46ff-751a-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e903d58c-78f8-46ff-751a-08d9e25ba937', NULL, 'configureTimeZone', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'configureTimeZone', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'e903d58c-78f8-46ff-751a-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a0214828-3b9f-4713-751b-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a0214828-3b9f-4713-751b-08d9e25ba937', NULL, 'connectedDevicesServiceBlocked', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'connectedDevicesServiceBlocked', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'a0214828-3b9f-4713-751b-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '46b81d5e-0224-4df5-751c-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('46b81d5e-0224-4df5-751c-08d9e25ba937', NULL, 'copyPasteBlocked', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'copyPasteBlocked', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '46b81d5e-0224-4df5-751c-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4d1c08c9-6540-4848-751d-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4d1c08c9-6540-4848-751d-08d9e25ba937', NULL, 'cortanaBlocked', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'cortanaBlocked', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '4d1c08c9-6540-4848-751d-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '237b0084-c605-4369-751e-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('237b0084-c605-4369-751e-08d9e25ba937', NULL, 'cryptographyAllowFipsAlgorithmPolicy', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'cryptographyAllowFipsAlgorithmPolicy', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '237b0084-c605-4369-751e-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9db2b440-afca-4335-751f-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9db2b440-afca-4335-751f-08d9e25ba937', NULL, 'dataProtectionBlockDirectMemoryAccess', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'dataProtectionBlockDirectMemoryAccess', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '9db2b440-afca-4335-751f-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e41879d8-8af9-4c79-7520-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e41879d8-8af9-4c79-7520-08d9e25ba937', NULL, 'defenderBlockEndUserAccess', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderBlockEndUserAccess', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'e41879d8-8af9-4c79-7520-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '896b5d4a-4cc6-4bb3-7521-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('896b5d4a-4cc6-4bb3-7521-08d9e25ba937', NULL, 'defenderBlockOnAccessProtection', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderBlockOnAccessProtection', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '896b5d4a-4cc6-4bb3-7521-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '724494e6-0ec3-4ac8-7522-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('724494e6-0ec3-4ac8-7522-08d9e25ba937', NULL, 'defenderCloudBlockLevel', 'Microsoft.Graph.DefenderCloudBlockLevelType', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderCloudBlockLevel', [DataType] = 'Microsoft.Graph.DefenderCloudBlockLevelType', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '724494e6-0ec3-4ac8-7522-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '58da23bf-7091-48c3-7523-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('58da23bf-7091-48c3-7523-08d9e25ba937', NULL, 'defenderCloudExtendedTimeout', 'System.Int32', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderCloudExtendedTimeout', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '58da23bf-7091-48c3-7523-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '978f8844-ee0e-4301-7524-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('978f8844-ee0e-4301-7524-08d9e25ba937', NULL, 'defenderCloudExtendedTimeoutInSeconds', 'System.Int32', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderCloudExtendedTimeoutInSeconds', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '978f8844-ee0e-4301-7524-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b39ef989-628e-44d5-7525-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b39ef989-628e-44d5-7525-08d9e25ba937', NULL, 'defenderDaysBeforeDeletingQuarantinedMalware', 'System.Int32', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderDaysBeforeDeletingQuarantinedMalware', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'b39ef989-628e-44d5-7525-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4cebfe58-764c-4480-7526-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4cebfe58-764c-4480-7526-08d9e25ba937', NULL, 'defenderDetectedMalwareActions', 'Microsoft.Graph.DefenderDetectedMalwareActions', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderDetectedMalwareActions', [DataType] = 'Microsoft.Graph.DefenderDetectedMalwareActions', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '4cebfe58-764c-4480-7526-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e1f47fc0-28e3-4ae8-7527-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e1f47fc0-28e3-4ae8-7527-08d9e25ba937', NULL, 'defenderDisableCatchupFullScan', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderDisableCatchupFullScan', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'e1f47fc0-28e3-4ae8-7527-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '2cf71e32-5f73-4797-7528-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('2cf71e32-5f73-4797-7528-08d9e25ba937', NULL, 'defenderDisableCatchupQuickScan', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderDisableCatchupQuickScan', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '2cf71e32-5f73-4797-7528-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '14b11b30-56ed-4e0a-7529-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('14b11b30-56ed-4e0a-7529-08d9e25ba937', NULL, 'defenderFileExtensionsToExclude', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderFileExtensionsToExclude', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '14b11b30-56ed-4e0a-7529-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e0a32689-9078-43d3-752a-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e0a32689-9078-43d3-752a-08d9e25ba937', NULL, 'defenderFilesAndFoldersToExclude', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderFilesAndFoldersToExclude', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'e0a32689-9078-43d3-752a-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1ed229e2-fa97-4e95-752b-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1ed229e2-fa97-4e95-752b-08d9e25ba937', NULL, 'defenderMonitorFileActivity', 'Microsoft.Graph.DefenderMonitorFileActivity', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderMonitorFileActivity', [DataType] = 'Microsoft.Graph.DefenderMonitorFileActivity', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '1ed229e2-fa97-4e95-752b-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e30d5884-7421-44ca-752c-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e30d5884-7421-44ca-752c-08d9e25ba937', NULL, 'defenderPotentiallyUnwantedAppAction', 'Microsoft.Graph.DefenderPotentiallyUnwantedAppAction', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderPotentiallyUnwantedAppAction', [DataType] = 'Microsoft.Graph.DefenderPotentiallyUnwantedAppAction', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'e30d5884-7421-44ca-752c-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6f6c1348-3e28-49c6-752d-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6f6c1348-3e28-49c6-752d-08d9e25ba937', NULL, 'defenderPotentiallyUnwantedAppActionSetting', 'Microsoft.Graph.DefenderProtectionType', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderPotentiallyUnwantedAppActionSetting', [DataType] = 'Microsoft.Graph.DefenderProtectionType', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '6f6c1348-3e28-49c6-752d-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b047d101-2f40-40d2-752e-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b047d101-2f40-40d2-752e-08d9e25ba937', NULL, 'defenderProcessesToExclude', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderProcessesToExclude', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'b047d101-2f40-40d2-752e-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '96ef198f-9235-45c0-752f-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('96ef198f-9235-45c0-752f-08d9e25ba937', NULL, 'defenderPromptForSampleSubmission', 'Microsoft.Graph.DefenderPromptForSampleSubmission', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderPromptForSampleSubmission', [DataType] = 'Microsoft.Graph.DefenderPromptForSampleSubmission', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '96ef198f-9235-45c0-752f-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a21759b7-31c7-45b1-7530-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a21759b7-31c7-45b1-7530-08d9e25ba937', NULL, 'defenderRequireBehaviorMonitoring', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderRequireBehaviorMonitoring', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'a21759b7-31c7-45b1-7530-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '98ed8900-fc5a-4a2b-7531-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('98ed8900-fc5a-4a2b-7531-08d9e25ba937', NULL, 'defenderRequireCloudProtection', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderRequireCloudProtection', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '98ed8900-fc5a-4a2b-7531-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c4d3efa1-e63d-4c9e-7532-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c4d3efa1-e63d-4c9e-7532-08d9e25ba937', NULL, 'defenderRequireNetworkInspectionSystem', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderRequireNetworkInspectionSystem', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'c4d3efa1-e63d-4c9e-7532-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'cf753687-e363-4ed5-7533-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('cf753687-e363-4ed5-7533-08d9e25ba937', NULL, 'defenderRequireRealTimeMonitoring', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderRequireRealTimeMonitoring', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'cf753687-e363-4ed5-7533-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f450fb80-a97f-41e3-7534-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f450fb80-a97f-41e3-7534-08d9e25ba937', NULL, 'defenderScanArchiveFiles', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderScanArchiveFiles', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'f450fb80-a97f-41e3-7534-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e41c4de7-e123-4abe-7535-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e41c4de7-e123-4abe-7535-08d9e25ba937', NULL, 'defenderScanDownloads', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderScanDownloads', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'e41c4de7-e123-4abe-7535-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fd559650-9c98-452c-7536-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fd559650-9c98-452c-7536-08d9e25ba937', NULL, 'defenderScanIncomingMail', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderScanIncomingMail', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'fd559650-9c98-452c-7536-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '44248352-70ef-4c92-7537-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('44248352-70ef-4c92-7537-08d9e25ba937', NULL, 'defenderScanMappedNetworkDrivesDuringFullScan', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderScanMappedNetworkDrivesDuringFullScan', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '44248352-70ef-4c92-7537-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e433d703-714a-4d16-7538-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e433d703-714a-4d16-7538-08d9e25ba937', NULL, 'defenderScanMaxCpu', 'System.Int32', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderScanMaxCpu', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'e433d703-714a-4d16-7538-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fbf31e08-9fc6-44c5-7539-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fbf31e08-9fc6-44c5-7539-08d9e25ba937', NULL, 'defenderScanNetworkFiles', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderScanNetworkFiles', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'fbf31e08-9fc6-44c5-7539-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0f650a76-1909-403f-753a-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0f650a76-1909-403f-753a-08d9e25ba937', NULL, 'defenderScanRemovableDrivesDuringFullScan', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderScanRemovableDrivesDuringFullScan', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '0f650a76-1909-403f-753a-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '434a2e10-ddae-4310-753b-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('434a2e10-ddae-4310-753b-08d9e25ba937', NULL, 'defenderScanScriptsLoadedInInternetExplorer', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderScanScriptsLoadedInInternetExplorer', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '434a2e10-ddae-4310-753b-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e9b7ec81-132a-4885-753c-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e9b7ec81-132a-4885-753c-08d9e25ba937', NULL, 'defenderScanType', 'Microsoft.Graph.DefenderScanType', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderScanType', [DataType] = 'Microsoft.Graph.DefenderScanType', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'e9b7ec81-132a-4885-753c-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'cd3cf7cf-cb8b-45b1-753d-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('cd3cf7cf-cb8b-45b1-753d-08d9e25ba937', NULL, 'defenderScheduledQuickScanTime', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderScheduledQuickScanTime', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'cd3cf7cf-cb8b-45b1-753d-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '72672419-5fa3-4bd0-753e-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('72672419-5fa3-4bd0-753e-08d9e25ba937', NULL, 'defenderScheduledScanTime', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderScheduledScanTime', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '72672419-5fa3-4bd0-753e-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '446d7e9a-05bc-4042-753f-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('446d7e9a-05bc-4042-753f-08d9e25ba937', NULL, 'defenderScheduleScanEnableLowCpuPriority', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderScheduleScanEnableLowCpuPriority', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '446d7e9a-05bc-4042-753f-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f661bcc9-98d2-4e81-7540-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f661bcc9-98d2-4e81-7540-08d9e25ba937', NULL, 'defenderSignatureUpdateIntervalInHours', 'System.Int32', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderSignatureUpdateIntervalInHours', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'f661bcc9-98d2-4e81-7540-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a8cf81a2-442b-4cf2-7541-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a8cf81a2-442b-4cf2-7541-08d9e25ba937', NULL, 'defenderSubmitSamplesConsentType', 'Microsoft.Graph.DefenderSubmitSamplesConsentType', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderSubmitSamplesConsentType', [DataType] = 'Microsoft.Graph.DefenderSubmitSamplesConsentType', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'a8cf81a2-442b-4cf2-7541-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '21c68943-c3bd-46bd-7542-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('21c68943-c3bd-46bd-7542-08d9e25ba937', NULL, 'defenderSystemScanSchedule', 'Microsoft.Graph.WeeklySchedule', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'defenderSystemScanSchedule', [DataType] = 'Microsoft.Graph.WeeklySchedule', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '21c68943-c3bd-46bd-7542-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '23e822fa-10de-48ec-7543-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('23e822fa-10de-48ec-7543-08d9e25ba937', NULL, 'developerUnlockSetting', 'Microsoft.Graph.StateManagementSetting', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'developerUnlockSetting', [DataType] = 'Microsoft.Graph.StateManagementSetting', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '23e822fa-10de-48ec-7543-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd1bd0f16-efd8-4bf4-7544-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d1bd0f16-efd8-4bf4-7544-08d9e25ba937', NULL, 'deviceManagementBlockFactoryResetOnMobile', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'deviceManagementBlockFactoryResetOnMobile', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'd1bd0f16-efd8-4bf4-7544-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '7b2ad1af-47d0-407d-7545-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('7b2ad1af-47d0-407d-7545-08d9e25ba937', NULL, 'deviceManagementBlockManualUnenroll', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'deviceManagementBlockManualUnenroll', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '7b2ad1af-47d0-407d-7545-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e295a303-4134-4665-7546-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e295a303-4134-4665-7546-08d9e25ba937', NULL, 'diagnosticsDataSubmissionMode', 'Microsoft.Graph.DiagnosticDataSubmissionMode', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'diagnosticsDataSubmissionMode', [DataType] = 'Microsoft.Graph.DiagnosticDataSubmissionMode', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'e295a303-4134-4665-7546-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fcb18f35-2f5c-4209-7547-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fcb18f35-2f5c-4209-7547-08d9e25ba937', NULL, 'displayAppListWithGdiDPIScalingTurnedOff', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'displayAppListWithGdiDPIScalingTurnedOff', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'fcb18f35-2f5c-4209-7547-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '60d03cf7-8ce8-4de0-7548-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('60d03cf7-8ce8-4de0-7548-08d9e25ba937', NULL, 'displayAppListWithGdiDPIScalingTurnedOn', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'displayAppListWithGdiDPIScalingTurnedOn', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '60d03cf7-8ce8-4de0-7548-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'caf7dd04-f890-4a4f-7549-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('caf7dd04-f890-4a4f-7549-08d9e25ba937', NULL, 'edgeAllowStartPagesModification', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeAllowStartPagesModification', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'caf7dd04-f890-4a4f-7549-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3c2b239b-a18f-4056-754a-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3c2b239b-a18f-4056-754a-08d9e25ba937', NULL, 'edgeBlockAccessToAboutFlags', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockAccessToAboutFlags', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '3c2b239b-a18f-4056-754a-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b55f2dae-afaa-4309-754b-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b55f2dae-afaa-4309-754b-08d9e25ba937', NULL, 'edgeBlockAddressBarDropdown', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockAddressBarDropdown', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'b55f2dae-afaa-4309-754b-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd06ea9a3-27b8-4665-754c-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d06ea9a3-27b8-4665-754c-08d9e25ba937', NULL, 'edgeBlockAutofill', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockAutofill', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'd06ea9a3-27b8-4665-754c-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9a083248-91b9-4efb-754d-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9a083248-91b9-4efb-754d-08d9e25ba937', NULL, 'edgeBlockCompatibilityList', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockCompatibilityList', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '9a083248-91b9-4efb-754d-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '58ce5e20-51b2-46bc-754e-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('58ce5e20-51b2-46bc-754e-08d9e25ba937', NULL, 'edgeBlockDeveloperTools', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockDeveloperTools', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '58ce5e20-51b2-46bc-754e-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5b09e175-a811-4d91-754f-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5b09e175-a811-4d91-754f-08d9e25ba937', NULL, 'edgeBlocked', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlocked', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '5b09e175-a811-4d91-754f-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4ab9f0e3-5edd-4790-7550-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4ab9f0e3-5edd-4790-7550-08d9e25ba937', NULL, 'edgeBlockEditFavorites', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockEditFavorites', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '4ab9f0e3-5edd-4790-7550-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fe3dda36-4763-4057-7551-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fe3dda36-4763-4057-7551-08d9e25ba937', NULL, 'edgeBlockExtensions', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockExtensions', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'fe3dda36-4763-4057-7551-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9f281c52-aeb2-49fa-7552-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9f281c52-aeb2-49fa-7552-08d9e25ba937', NULL, 'edgeBlockFullScreenMode', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockFullScreenMode', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '9f281c52-aeb2-49fa-7552-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e7e937b0-6f04-4ef1-7553-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e7e937b0-6f04-4ef1-7553-08d9e25ba937', NULL, 'edgeBlockInPrivateBrowsing', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockInPrivateBrowsing', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'e7e937b0-6f04-4ef1-7553-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '135bef38-4bd1-48ba-7554-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('135bef38-4bd1-48ba-7554-08d9e25ba937', NULL, 'edgeBlockJavaScript', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockJavaScript', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '135bef38-4bd1-48ba-7554-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6d9804ec-1f65-481d-7555-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6d9804ec-1f65-481d-7555-08d9e25ba937', NULL, 'edgeBlockLiveTileDataCollection', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockLiveTileDataCollection', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '6d9804ec-1f65-481d-7555-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c9cb7e5b-7817-436c-7556-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c9cb7e5b-7817-436c-7556-08d9e25ba937', NULL, 'edgeBlockPasswordManager', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockPasswordManager', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'c9cb7e5b-7817-436c-7556-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c9d2768a-8d66-4b87-7557-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c9d2768a-8d66-4b87-7557-08d9e25ba937', NULL, 'edgeBlockPopups', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockPopups', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'c9d2768a-8d66-4b87-7557-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '99e5e9a7-40dc-45b7-7558-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('99e5e9a7-40dc-45b7-7558-08d9e25ba937', NULL, 'edgeBlockPrelaunch', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockPrelaunch', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '99e5e9a7-40dc-45b7-7558-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'bcdf370b-c747-4186-7559-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('bcdf370b-c747-4186-7559-08d9e25ba937', NULL, 'edgeBlockPrinting', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockPrinting', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'bcdf370b-c747-4186-7559-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'cf87f0c5-e184-4329-755a-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('cf87f0c5-e184-4329-755a-08d9e25ba937', NULL, 'edgeBlockSavingHistory', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockSavingHistory', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'cf87f0c5-e184-4329-755a-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b8180da4-632d-4f6e-755b-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b8180da4-632d-4f6e-755b-08d9e25ba937', NULL, 'edgeBlockSearchEngineCustomization', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockSearchEngineCustomization', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'b8180da4-632d-4f6e-755b-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '05d018d6-b2c7-48f4-755c-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('05d018d6-b2c7-48f4-755c-08d9e25ba937', NULL, 'edgeBlockSearchSuggestions', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockSearchSuggestions', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '05d018d6-b2c7-48f4-755c-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '95b963f0-9815-43e4-755d-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('95b963f0-9815-43e4-755d-08d9e25ba937', NULL, 'edgeBlockSendingDoNotTrackHeader', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockSendingDoNotTrackHeader', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '95b963f0-9815-43e4-755d-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c0be94d0-2b10-4234-755e-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c0be94d0-2b10-4234-755e-08d9e25ba937', NULL, 'edgeBlockSendingIntranetTrafficToInternetExplorer', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockSendingIntranetTrafficToInternetExplorer', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'c0be94d0-2b10-4234-755e-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd297b2f4-fa5b-4434-755f-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d297b2f4-fa5b-4434-755f-08d9e25ba937', NULL, 'edgeBlockSideloadingExtensions', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockSideloadingExtensions', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'd297b2f4-fa5b-4434-755f-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a3074037-85d0-4281-7560-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a3074037-85d0-4281-7560-08d9e25ba937', NULL, 'edgeBlockTabPreloading', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockTabPreloading', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'a3074037-85d0-4281-7560-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'be046470-2ff8-4cc7-7561-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('be046470-2ff8-4cc7-7561-08d9e25ba937', NULL, 'edgeBlockWebContentOnNewTabPage', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeBlockWebContentOnNewTabPage', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'be046470-2ff8-4cc7-7561-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8804b486-f9e5-4447-7562-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8804b486-f9e5-4447-7562-08d9e25ba937', NULL, 'edgeClearBrowsingDataOnExit', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeClearBrowsingDataOnExit', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '8804b486-f9e5-4447-7562-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '2ab6ca69-2cda-4d96-7563-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('2ab6ca69-2cda-4d96-7563-08d9e25ba937', NULL, 'edgeCookiePolicy', 'Microsoft.Graph.EdgeCookiePolicy', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeCookiePolicy', [DataType] = 'Microsoft.Graph.EdgeCookiePolicy', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '2ab6ca69-2cda-4d96-7563-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '7d8bc468-a259-4bbb-7564-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('7d8bc468-a259-4bbb-7564-08d9e25ba937', NULL, 'edgeDisableFirstRunPage', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeDisableFirstRunPage', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '7d8bc468-a259-4bbb-7564-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0b16c3c1-7be8-4f6b-7565-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0b16c3c1-7be8-4f6b-7565-08d9e25ba937', NULL, 'edgeEnterpriseModeSiteListLocation', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeEnterpriseModeSiteListLocation', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '0b16c3c1-7be8-4f6b-7565-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8c8c5046-89fe-45b3-7566-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8c8c5046-89fe-45b3-7566-08d9e25ba937', NULL, 'edgeFavoritesBarVisibility', 'Microsoft.Graph.VisibilitySetting', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeFavoritesBarVisibility', [DataType] = 'Microsoft.Graph.VisibilitySetting', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '8c8c5046-89fe-45b3-7566-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0c7efacd-0948-489e-7567-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0c7efacd-0948-489e-7567-08d9e25ba937', NULL, 'edgeFavoritesListLocation', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeFavoritesListLocation', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '0c7efacd-0948-489e-7567-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '416949df-91e1-4c4c-7568-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('416949df-91e1-4c4c-7568-08d9e25ba937', NULL, 'edgeFirstRunUrl', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeFirstRunUrl', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '416949df-91e1-4c4c-7568-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '2d8d9634-d200-472f-7569-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('2d8d9634-d200-472f-7569-08d9e25ba937', NULL, 'edgeHomeButtonConfiguration', 'Microsoft.Graph.EdgeHomeButtonConfiguration', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeHomeButtonConfiguration', [DataType] = 'Microsoft.Graph.EdgeHomeButtonConfiguration', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '2d8d9634-d200-472f-7569-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '45488a69-b386-4fee-756a-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('45488a69-b386-4fee-756a-08d9e25ba937', NULL, 'edgeHomeButtonConfigurationEnabled', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeHomeButtonConfigurationEnabled', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '45488a69-b386-4fee-756a-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b07eb8ff-9747-4dd1-756b-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b07eb8ff-9747-4dd1-756b-08d9e25ba937', NULL, 'edgeHomepageUrls', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeHomepageUrls', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'b07eb8ff-9747-4dd1-756b-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3dd7e813-60b7-4127-756c-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3dd7e813-60b7-4127-756c-08d9e25ba937', NULL, 'edgeKioskModeRestriction', 'Microsoft.Graph.EdgeKioskModeRestrictionType', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeKioskModeRestriction', [DataType] = 'Microsoft.Graph.EdgeKioskModeRestrictionType', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '3dd7e813-60b7-4127-756c-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3c5eb10b-dfcf-40aa-756d-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3c5eb10b-dfcf-40aa-756d-08d9e25ba937', NULL, 'edgeKioskResetAfterIdleTimeInMinutes', 'System.Int32', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeKioskResetAfterIdleTimeInMinutes', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '3c5eb10b-dfcf-40aa-756d-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fb52e949-c41e-4277-756e-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fb52e949-c41e-4277-756e-08d9e25ba937', NULL, 'edgeNewTabPageURL', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeNewTabPageURL', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'fb52e949-c41e-4277-756e-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '89caa75b-d901-4a08-756f-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('89caa75b-d901-4a08-756f-08d9e25ba937', NULL, 'edgeOpensWith', 'Microsoft.Graph.EdgeOpenOptions', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeOpensWith', [DataType] = 'Microsoft.Graph.EdgeOpenOptions', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '89caa75b-d901-4a08-756f-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '131677a7-1996-4049-7570-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('131677a7-1996-4049-7570-08d9e25ba937', NULL, 'edgePreventCertificateErrorOverride', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgePreventCertificateErrorOverride', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '131677a7-1996-4049-7570-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '7fa3dc45-c566-4ec5-7571-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('7fa3dc45-c566-4ec5-7571-08d9e25ba937', NULL, 'edgeRequiredExtensionPackageFamilyNames', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeRequiredExtensionPackageFamilyNames', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '7fa3dc45-c566-4ec5-7571-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4ae16f1c-04e1-499c-7572-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4ae16f1c-04e1-499c-7572-08d9e25ba937', NULL, 'edgeRequireSmartScreen', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeRequireSmartScreen', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '4ae16f1c-04e1-499c-7572-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9067bf11-82fa-408e-7573-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9067bf11-82fa-408e-7573-08d9e25ba937', NULL, 'edgeSearchEngine', 'Microsoft.Graph.EdgeSearchEngineBase', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeSearchEngine', [DataType] = 'Microsoft.Graph.EdgeSearchEngineBase', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '9067bf11-82fa-408e-7573-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e9dd6b22-6681-4b27-7574-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e9dd6b22-6681-4b27-7574-08d9e25ba937', NULL, 'edgeSendIntranetTrafficToInternetExplorer', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeSendIntranetTrafficToInternetExplorer', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'e9dd6b22-6681-4b27-7574-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8fbeb9fd-5c80-49a4-7575-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8fbeb9fd-5c80-49a4-7575-08d9e25ba937', NULL, 'edgeShowMessageWhenOpeningInternetExplorerSites', 'Microsoft.Graph.InternetExplorerMessageSetting', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeShowMessageWhenOpeningInternetExplorerSites', [DataType] = 'Microsoft.Graph.InternetExplorerMessageSetting', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '8fbeb9fd-5c80-49a4-7575-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'db8e71f3-6224-4383-7576-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('db8e71f3-6224-4383-7576-08d9e25ba937', NULL, 'edgeSyncFavoritesWithInternetExplorer', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeSyncFavoritesWithInternetExplorer', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'db8e71f3-6224-4383-7576-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '75427c21-2a97-445c-7577-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('75427c21-2a97-445c-7577-08d9e25ba937', NULL, 'edgeTelemetryForMicrosoft365Analytics', 'Microsoft.Graph.EdgeTelemetryMode', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'edgeTelemetryForMicrosoft365Analytics', [DataType] = 'Microsoft.Graph.EdgeTelemetryMode', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '75427c21-2a97-445c-7577-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0fac2c3b-1b33-4c6a-7578-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0fac2c3b-1b33-4c6a-7578-08d9e25ba937', NULL, 'enableAutomaticRedeployment', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'enableAutomaticRedeployment', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '0fac2c3b-1b33-4c6a-7578-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4c4e28f6-8239-4f0e-7579-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4c4e28f6-8239-4f0e-7579-08d9e25ba937', NULL, 'energySaverOnBatteryThresholdPercentage', 'System.Int32', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'energySaverOnBatteryThresholdPercentage', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '4c4e28f6-8239-4f0e-7579-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '31c46d36-305c-4682-757a-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('31c46d36-305c-4682-757a-08d9e25ba937', NULL, 'energySaverPluggedInThresholdPercentage', 'System.Int32', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'energySaverPluggedInThresholdPercentage', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '31c46d36-305c-4682-757a-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '98621bec-4b0f-4d65-757b-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('98621bec-4b0f-4d65-757b-08d9e25ba937', NULL, 'enterpriseCloudPrintDiscoveryEndPoint', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'enterpriseCloudPrintDiscoveryEndPoint', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '98621bec-4b0f-4d65-757b-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c0558743-1af0-4915-757c-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c0558743-1af0-4915-757c-08d9e25ba937', NULL, 'enterpriseCloudPrintDiscoveryMaxLimit', 'System.Int32', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'enterpriseCloudPrintDiscoveryMaxLimit', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'c0558743-1af0-4915-757c-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '2901624c-e9c8-4bd0-757d-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('2901624c-e9c8-4bd0-757d-08d9e25ba937', NULL, 'enterpriseCloudPrintMopriaDiscoveryResourceIdentifier', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'enterpriseCloudPrintMopriaDiscoveryResourceIdentifier', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '2901624c-e9c8-4bd0-757d-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '12d1395f-b42c-4038-757e-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('12d1395f-b42c-4038-757e-08d9e25ba937', NULL, 'enterpriseCloudPrintOAuthAuthority', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'enterpriseCloudPrintOAuthAuthority', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '12d1395f-b42c-4038-757e-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '637fdb8f-a82b-4bbd-757f-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('637fdb8f-a82b-4bbd-757f-08d9e25ba937', NULL, 'enterpriseCloudPrintOAuthClientIdentifier', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'enterpriseCloudPrintOAuthClientIdentifier', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '637fdb8f-a82b-4bbd-757f-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'dc1c5876-2d0b-46d1-7580-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('dc1c5876-2d0b-46d1-7580-08d9e25ba937', NULL, 'enterpriseCloudPrintResourceIdentifier', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'enterpriseCloudPrintResourceIdentifier', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'dc1c5876-2d0b-46d1-7580-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4aa35d8f-1984-4a4d-7581-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4aa35d8f-1984-4a4d-7581-08d9e25ba937', NULL, 'experienceBlockDeviceDiscovery', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'experienceBlockDeviceDiscovery', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '4aa35d8f-1984-4a4d-7581-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '72b70486-5b0e-4545-7582-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('72b70486-5b0e-4545-7582-08d9e25ba937', NULL, 'experienceBlockErrorDialogWhenNoSIM', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'experienceBlockErrorDialogWhenNoSIM', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '72b70486-5b0e-4545-7582-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e9b40f2e-36c6-40de-7583-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e9b40f2e-36c6-40de-7583-08d9e25ba937', NULL, 'experienceBlockTaskSwitcher', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'experienceBlockTaskSwitcher', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'e9b40f2e-36c6-40de-7583-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '23283db5-a195-45fc-7584-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('23283db5-a195-45fc-7584-08d9e25ba937', NULL, 'experienceDoNotSyncBrowserSettings', 'Microsoft.Graph.BrowserSyncSetting', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'experienceDoNotSyncBrowserSettings', [DataType] = 'Microsoft.Graph.BrowserSyncSetting', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '23283db5-a195-45fc-7584-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3fcb0f49-1cd2-44a0-7585-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3fcb0f49-1cd2-44a0-7585-08d9e25ba937', NULL, 'findMyFiles', 'Microsoft.Graph.Enablement', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'findMyFiles', [DataType] = 'Microsoft.Graph.Enablement', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '3fcb0f49-1cd2-44a0-7585-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8e24d5e8-ea7b-409b-7586-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8e24d5e8-ea7b-409b-7586-08d9e25ba937', NULL, 'gameDvrBlocked', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'gameDvrBlocked', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '8e24d5e8-ea7b-409b-7586-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'eef202a1-b822-40c9-7587-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('eef202a1-b822-40c9-7587-08d9e25ba937', NULL, 'inkWorkspaceAccess', 'Microsoft.Graph.InkAccessSetting', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'inkWorkspaceAccess', [DataType] = 'Microsoft.Graph.InkAccessSetting', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'eef202a1-b822-40c9-7587-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c06de009-6174-4394-7588-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c06de009-6174-4394-7588-08d9e25ba937', NULL, 'inkWorkspaceAccessState', 'Microsoft.Graph.StateManagementSetting', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'inkWorkspaceAccessState', [DataType] = 'Microsoft.Graph.StateManagementSetting', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'c06de009-6174-4394-7588-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '74094ef6-1f31-4442-7589-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('74094ef6-1f31-4442-7589-08d9e25ba937', NULL, 'inkWorkspaceBlockSuggestedApps', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'inkWorkspaceBlockSuggestedApps', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '74094ef6-1f31-4442-7589-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e6db40c2-1c85-4b0a-758a-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e6db40c2-1c85-4b0a-758a-08d9e25ba937', NULL, 'internetSharingBlocked', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'internetSharingBlocked', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'e6db40c2-1c85-4b0a-758a-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '23ec0310-0374-4966-758b-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('23ec0310-0374-4966-758b-08d9e25ba937', NULL, 'locationServicesBlocked', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'locationServicesBlocked', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '23ec0310-0374-4966-758b-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '251e1879-516b-4e47-758c-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('251e1879-516b-4e47-758c-08d9e25ba937', NULL, 'lockScreenActivateAppsWithVoice', 'Microsoft.Graph.Enablement', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'lockScreenActivateAppsWithVoice', [DataType] = 'Microsoft.Graph.Enablement', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '251e1879-516b-4e47-758c-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '84f4fb91-f6e1-4462-758d-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('84f4fb91-f6e1-4462-758d-08d9e25ba937', NULL, 'lockScreenAllowTimeoutConfiguration', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'lockScreenAllowTimeoutConfiguration', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '84f4fb91-f6e1-4462-758d-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '468c300f-150e-46ad-758e-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('468c300f-150e-46ad-758e-08d9e25ba937', NULL, 'lockScreenBlockActionCenterNotifications', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'lockScreenBlockActionCenterNotifications', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '468c300f-150e-46ad-758e-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a677f2ab-8a3d-4bfe-758f-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a677f2ab-8a3d-4bfe-758f-08d9e25ba937', NULL, 'lockScreenBlockCortana', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'lockScreenBlockCortana', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'a677f2ab-8a3d-4bfe-758f-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0b7452f7-5ac8-4cd8-7590-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0b7452f7-5ac8-4cd8-7590-08d9e25ba937', NULL, 'lockScreenBlockToastNotifications', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'lockScreenBlockToastNotifications', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '0b7452f7-5ac8-4cd8-7590-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'be24576b-09dd-43b7-7591-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('be24576b-09dd-43b7-7591-08d9e25ba937', NULL, 'lockScreenTimeoutInSeconds', 'System.Int32', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'lockScreenTimeoutInSeconds', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'be24576b-09dd-43b7-7591-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e26bad56-f3a2-4a72-7592-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e26bad56-f3a2-4a72-7592-08d9e25ba937', NULL, 'logonBlockFastUserSwitching', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'logonBlockFastUserSwitching', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'e26bad56-f3a2-4a72-7592-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '91469281-ad63-405b-7593-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('91469281-ad63-405b-7593-08d9e25ba937', NULL, 'messagingBlockMMS', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'messagingBlockMMS', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '91469281-ad63-405b-7593-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4cd6814a-3436-484a-7594-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4cd6814a-3436-484a-7594-08d9e25ba937', NULL, 'messagingBlockRichCommunicationServices', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'messagingBlockRichCommunicationServices', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '4cd6814a-3436-484a-7594-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8032775b-b4e7-4b72-7595-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8032775b-b4e7-4b72-7595-08d9e25ba937', NULL, 'messagingBlockSync', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'messagingBlockSync', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '8032775b-b4e7-4b72-7595-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'bbb5a725-e7ef-4bca-7596-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('bbb5a725-e7ef-4bca-7596-08d9e25ba937', NULL, 'microsoftAccountBlocked', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'microsoftAccountBlocked', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'bbb5a725-e7ef-4bca-7596-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '281155f4-8ebb-454d-7597-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('281155f4-8ebb-454d-7597-08d9e25ba937', NULL, 'microsoftAccountBlockSettingsSync', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'microsoftAccountBlockSettingsSync', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '281155f4-8ebb-454d-7597-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '445375c0-8eea-47b5-7598-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('445375c0-8eea-47b5-7598-08d9e25ba937', NULL, 'microsoftAccountSignInAssistantSettings', 'Microsoft.Graph.SignInAssistantOptions', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'microsoftAccountSignInAssistantSettings', [DataType] = 'Microsoft.Graph.SignInAssistantOptions', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '445375c0-8eea-47b5-7598-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1a3c51f6-7660-43b4-7599-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1a3c51f6-7660-43b4-7599-08d9e25ba937', NULL, 'networkProxyApplySettingsDeviceWide', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'networkProxyApplySettingsDeviceWide', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '1a3c51f6-7660-43b4-7599-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fda37ce7-f585-466f-759a-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fda37ce7-f585-466f-759a-08d9e25ba937', NULL, 'networkProxyAutomaticConfigurationUrl', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'networkProxyAutomaticConfigurationUrl', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'fda37ce7-f585-466f-759a-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '795fe131-de9c-4608-759b-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('795fe131-de9c-4608-759b-08d9e25ba937', NULL, 'networkProxyDisableAutoDetect', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'networkProxyDisableAutoDetect', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '795fe131-de9c-4608-759b-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b1139ad8-ef6d-4157-759c-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b1139ad8-ef6d-4157-759c-08d9e25ba937', NULL, 'networkProxyServer', 'Microsoft.Graph.Windows10NetworkProxyServer', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'networkProxyServer', [DataType] = 'Microsoft.Graph.Windows10NetworkProxyServer', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'b1139ad8-ef6d-4157-759c-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c20cacf8-7938-482f-759d-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c20cacf8-7938-482f-759d-08d9e25ba937', NULL, 'nfcBlocked', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'nfcBlocked', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'c20cacf8-7938-482f-759d-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '56097da1-7b62-4253-759e-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('56097da1-7b62-4253-759e-08d9e25ba937', NULL, 'oneDriveDisableFileSync', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'oneDriveDisableFileSync', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '56097da1-7b62-4253-759e-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '34739ef0-caff-4fb2-759f-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('34739ef0-caff-4fb2-759f-08d9e25ba937', NULL, 'passwordBlockSimple', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'passwordBlockSimple', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '34739ef0-caff-4fb2-759f-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c1be40e7-cda8-4f8c-75a0-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c1be40e7-cda8-4f8c-75a0-08d9e25ba937', NULL, 'passwordExpirationDays', 'System.Int32', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'passwordExpirationDays', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'c1be40e7-cda8-4f8c-75a0-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'bb3e8bfd-3163-4470-75a1-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('bb3e8bfd-3163-4470-75a1-08d9e25ba937', NULL, 'passwordMinimumAgeInDays', 'System.Int32', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'passwordMinimumAgeInDays', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'bb3e8bfd-3163-4470-75a1-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '2d4cf3c9-1e12-4484-75a2-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('2d4cf3c9-1e12-4484-75a2-08d9e25ba937', NULL, 'passwordMinimumCharacterSetCount', 'System.Int32', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'passwordMinimumCharacterSetCount', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '2d4cf3c9-1e12-4484-75a2-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'ccfecb46-476c-495e-75a3-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('ccfecb46-476c-495e-75a3-08d9e25ba937', NULL, 'passwordMinimumLength', 'System.Int32', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'passwordMinimumLength', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'ccfecb46-476c-495e-75a3-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '69b71661-e2e3-4ee4-75a4-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('69b71661-e2e3-4ee4-75a4-08d9e25ba937', NULL, 'passwordMinutesOfInactivityBeforeScreenTimeout', 'System.Int32', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'passwordMinutesOfInactivityBeforeScreenTimeout', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '69b71661-e2e3-4ee4-75a4-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3089e1b6-ce2e-4331-75a5-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3089e1b6-ce2e-4331-75a5-08d9e25ba937', NULL, 'passwordPreviousPasswordBlockCount', 'System.Int32', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'passwordPreviousPasswordBlockCount', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '3089e1b6-ce2e-4331-75a5-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd831b496-67ac-4c40-75a6-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d831b496-67ac-4c40-75a6-08d9e25ba937', NULL, 'passwordRequired', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'passwordRequired', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'd831b496-67ac-4c40-75a6-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '872a254a-57b7-43d8-75a7-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('872a254a-57b7-43d8-75a7-08d9e25ba937', NULL, 'passwordRequiredType', 'Microsoft.Graph.RequiredPasswordType', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'passwordRequiredType', [DataType] = 'Microsoft.Graph.RequiredPasswordType', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '872a254a-57b7-43d8-75a7-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '636f7dc3-2cfb-4d2d-75a8-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('636f7dc3-2cfb-4d2d-75a8-08d9e25ba937', NULL, 'passwordRequireWhenResumeFromIdleState', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'passwordRequireWhenResumeFromIdleState', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '636f7dc3-2cfb-4d2d-75a8-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '91ec9f26-9157-4de2-75a9-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('91ec9f26-9157-4de2-75a9-08d9e25ba937', NULL, 'passwordSignInFailureCountBeforeFactoryReset', 'System.Int32', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'passwordSignInFailureCountBeforeFactoryReset', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '91ec9f26-9157-4de2-75a9-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0fb27d54-edfa-4eba-75aa-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0fb27d54-edfa-4eba-75aa-08d9e25ba937', NULL, 'personalizationDesktopImageUrl', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'personalizationDesktopImageUrl', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '0fb27d54-edfa-4eba-75aa-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6641e213-3ee7-47f2-75ab-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6641e213-3ee7-47f2-75ab-08d9e25ba937', NULL, 'personalizationLockScreenImageUrl', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'personalizationLockScreenImageUrl', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '6641e213-3ee7-47f2-75ab-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a6ec11cf-6246-412f-75ac-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a6ec11cf-6246-412f-75ac-08d9e25ba937', NULL, 'powerButtonActionOnBattery', 'Microsoft.Graph.PowerActionType', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'powerButtonActionOnBattery', [DataType] = 'Microsoft.Graph.PowerActionType', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'a6ec11cf-6246-412f-75ac-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '400cc1f7-178a-4975-75ad-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('400cc1f7-178a-4975-75ad-08d9e25ba937', NULL, 'powerButtonActionPluggedIn', 'Microsoft.Graph.PowerActionType', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'powerButtonActionPluggedIn', [DataType] = 'Microsoft.Graph.PowerActionType', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '400cc1f7-178a-4975-75ad-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b36457c5-4b62-4ef2-75ae-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b36457c5-4b62-4ef2-75ae-08d9e25ba937', NULL, 'powerHybridSleepOnBattery', 'Microsoft.Graph.Enablement', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'powerHybridSleepOnBattery', [DataType] = 'Microsoft.Graph.Enablement', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'b36457c5-4b62-4ef2-75ae-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '06b77335-52c2-469c-75af-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('06b77335-52c2-469c-75af-08d9e25ba937', NULL, 'powerHybridSleepPluggedIn', 'Microsoft.Graph.Enablement', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'powerHybridSleepPluggedIn', [DataType] = 'Microsoft.Graph.Enablement', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '06b77335-52c2-469c-75af-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3a62441c-d894-4ee2-75b0-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3a62441c-d894-4ee2-75b0-08d9e25ba937', NULL, 'powerLidCloseActionOnBattery', 'Microsoft.Graph.PowerActionType', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'powerLidCloseActionOnBattery', [DataType] = 'Microsoft.Graph.PowerActionType', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '3a62441c-d894-4ee2-75b0-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'cbdfdbf3-bf6d-4d32-75b1-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('cbdfdbf3-bf6d-4d32-75b1-08d9e25ba937', NULL, 'powerLidCloseActionPluggedIn', 'Microsoft.Graph.PowerActionType', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'powerLidCloseActionPluggedIn', [DataType] = 'Microsoft.Graph.PowerActionType', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'cbdfdbf3-bf6d-4d32-75b1-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e1524f99-1058-4468-75b2-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e1524f99-1058-4468-75b2-08d9e25ba937', NULL, 'powerSleepButtonActionOnBattery', 'Microsoft.Graph.PowerActionType', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'powerSleepButtonActionOnBattery', [DataType] = 'Microsoft.Graph.PowerActionType', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'e1524f99-1058-4468-75b2-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '78a9db73-0c3f-44a9-75b3-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('78a9db73-0c3f-44a9-75b3-08d9e25ba937', NULL, 'powerSleepButtonActionPluggedIn', 'Microsoft.Graph.PowerActionType', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'powerSleepButtonActionPluggedIn', [DataType] = 'Microsoft.Graph.PowerActionType', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '78a9db73-0c3f-44a9-75b3-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '09c0c9b5-10b7-438c-75b4-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('09c0c9b5-10b7-438c-75b4-08d9e25ba937', NULL, 'printerBlockAddition', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'printerBlockAddition', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '09c0c9b5-10b7-438c-75b4-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '76741f49-c557-4fa7-75b5-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('76741f49-c557-4fa7-75b5-08d9e25ba937', NULL, 'printerDefaultName', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'printerDefaultName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '76741f49-c557-4fa7-75b5-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'ddd68269-7e00-439f-75b6-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('ddd68269-7e00-439f-75b6-08d9e25ba937', NULL, 'printerNames', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'printerNames', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'ddd68269-7e00-439f-75b6-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '7c89f010-069c-407c-75b7-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('7c89f010-069c-407c-75b7-08d9e25ba937', NULL, 'privacyAdvertisingId', 'Microsoft.Graph.StateManagementSetting', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'privacyAdvertisingId', [DataType] = 'Microsoft.Graph.StateManagementSetting', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '7c89f010-069c-407c-75b7-08d9e25ba937'


IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '2614f617-af92-4a24-75b8-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('2614f617-af92-4a24-75b8-08d9e25ba937', NULL, 'privacyAutoAcceptPairingAndConsentPrompts', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'privacyAutoAcceptPairingAndConsentPrompts', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '2614f617-af92-4a24-75b8-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '97759a37-ac76-4b0b-75b9-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('97759a37-ac76-4b0b-75b9-08d9e25ba937', NULL, 'privacyBlockActivityFeed', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'privacyBlockActivityFeed', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '97759a37-ac76-4b0b-75b9-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4d5b2e2c-32bd-49bd-75ba-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4d5b2e2c-32bd-49bd-75ba-08d9e25ba937', NULL, 'privacyBlockInputPersonalization', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'privacyBlockInputPersonalization', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '4d5b2e2c-32bd-49bd-75ba-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd9cad3f7-dac3-4131-75bb-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d9cad3f7-dac3-4131-75bb-08d9e25ba937', NULL, 'privacyBlockPublishUserActivities', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'privacyBlockPublishUserActivities', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'd9cad3f7-dac3-4131-75bb-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1d95394c-fc90-4c98-75bc-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1d95394c-fc90-4c98-75bc-08d9e25ba937', NULL, 'privacyDisableLaunchExperience', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'privacyDisableLaunchExperience', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '1d95394c-fc90-4c98-75bc-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4e4e0d8e-bf87-4aab-75bd-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4e4e0d8e-bf87-4aab-75bd-08d9e25ba937', NULL, 'resetProtectionModeBlocked', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'resetProtectionModeBlocked', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '4e4e0d8e-bf87-4aab-75bd-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a08f6a04-7217-44a6-75be-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a08f6a04-7217-44a6-75be-08d9e25ba937', NULL, 'safeSearchFilter', 'Microsoft.Graph.SafeSearchFilterType', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'safeSearchFilter', [DataType] = 'Microsoft.Graph.SafeSearchFilterType', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'a08f6a04-7217-44a6-75be-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '38c983f0-8c64-47fb-75bf-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('38c983f0-8c64-47fb-75bf-08d9e25ba937', NULL, 'screenCaptureBlocked', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'screenCaptureBlocked', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '38c983f0-8c64-47fb-75bf-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '045598ae-ee97-453d-75c0-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('045598ae-ee97-453d-75c0-08d9e25ba937', NULL, 'searchBlockDiacritics', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'searchBlockDiacritics', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '045598ae-ee97-453d-75c0-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1441623e-9f02-4c97-75c1-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1441623e-9f02-4c97-75c1-08d9e25ba937', NULL, 'searchBlockWebResults', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'searchBlockWebResults', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '1441623e-9f02-4c97-75c1-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6662faed-ffd6-48f4-75c2-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6662faed-ffd6-48f4-75c2-08d9e25ba937', NULL, 'searchDisableAutoLanguageDetection', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'searchDisableAutoLanguageDetection', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '6662faed-ffd6-48f4-75c2-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '7a940ac6-b8d3-4912-75c3-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('7a940ac6-b8d3-4912-75c3-08d9e25ba937', NULL, 'searchDisableIndexerBackoff', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'searchDisableIndexerBackoff', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '7a940ac6-b8d3-4912-75c3-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '98d6e0bd-d3f2-457f-75c4-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('98d6e0bd-d3f2-457f-75c4-08d9e25ba937', NULL, 'searchDisableIndexingEncryptedItems', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'searchDisableIndexingEncryptedItems', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '98d6e0bd-d3f2-457f-75c4-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '359c3948-3cff-463f-75c5-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('359c3948-3cff-463f-75c5-08d9e25ba937', NULL, 'searchDisableIndexingRemovableDrive', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'searchDisableIndexingRemovableDrive', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '359c3948-3cff-463f-75c5-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '196a40dd-4cb5-45fa-75c6-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('196a40dd-4cb5-45fa-75c6-08d9e25ba937', NULL, 'searchDisableLocation', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'searchDisableLocation', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '196a40dd-4cb5-45fa-75c6-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fb7ced9d-6c93-497d-75c7-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fb7ced9d-6c93-497d-75c7-08d9e25ba937', NULL, 'searchDisableUseLocation', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'searchDisableUseLocation', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'fb7ced9d-6c93-497d-75c7-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c0e6dfd1-b6c4-40ef-75c8-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c0e6dfd1-b6c4-40ef-75c8-08d9e25ba937', NULL, 'searchEnableAutomaticIndexSizeManangement', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'searchEnableAutomaticIndexSizeManangement', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'c0e6dfd1-b6c4-40ef-75c8-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3beb74f2-f7fa-43ea-75c9-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3beb74f2-f7fa-43ea-75c9-08d9e25ba937', NULL, 'searchEnableRemoteQueries', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'searchEnableRemoteQueries', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '3beb74f2-f7fa-43ea-75c9-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '21886786-fedd-4614-75ca-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('21886786-fedd-4614-75ca-08d9e25ba937', NULL, 'securityBlockAzureADJoinedDevicesAutoEncryption', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'securityBlockAzureADJoinedDevicesAutoEncryption', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '21886786-fedd-4614-75ca-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd3dba9a0-c092-45a0-75cb-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d3dba9a0-c092-45a0-75cb-08d9e25ba937', NULL, 'settingsBlockAccountsPage', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'settingsBlockAccountsPage', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'd3dba9a0-c092-45a0-75cb-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8ba92dc3-674d-4b20-75cc-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8ba92dc3-674d-4b20-75cc-08d9e25ba937', NULL, 'settingsBlockAddProvisioningPackage', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'settingsBlockAddProvisioningPackage', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '8ba92dc3-674d-4b20-75cc-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '94283d31-47e5-4cd3-75cd-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('94283d31-47e5-4cd3-75cd-08d9e25ba937', NULL, 'settingsBlockAppsPage', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'settingsBlockAppsPage', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '94283d31-47e5-4cd3-75cd-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'ab1ee9be-8deb-4734-75ce-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('ab1ee9be-8deb-4734-75ce-08d9e25ba937', NULL, 'settingsBlockChangeLanguage', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'settingsBlockChangeLanguage', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'ab1ee9be-8deb-4734-75ce-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '59d5d379-fd3a-471b-75cf-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('59d5d379-fd3a-471b-75cf-08d9e25ba937', NULL, 'settingsBlockChangePowerSleep', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'settingsBlockChangePowerSleep', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '59d5d379-fd3a-471b-75cf-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '2360db09-9445-4b0a-75d0-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('2360db09-9445-4b0a-75d0-08d9e25ba937', NULL, 'settingsBlockChangeRegion', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'settingsBlockChangeRegion', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '2360db09-9445-4b0a-75d0-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '2b28fc63-283d-4497-75d1-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('2b28fc63-283d-4497-75d1-08d9e25ba937', NULL, 'settingsBlockChangeSystemTime', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'settingsBlockChangeSystemTime', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '2b28fc63-283d-4497-75d1-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '507e0502-b5cc-4b75-75d2-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('507e0502-b5cc-4b75-75d2-08d9e25ba937', NULL, 'settingsBlockDevicesPage', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'settingsBlockDevicesPage', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '507e0502-b5cc-4b75-75d2-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f799364c-2ba8-4760-75d3-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f799364c-2ba8-4760-75d3-08d9e25ba937', NULL, 'settingsBlockEaseOfAccessPage', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'settingsBlockEaseOfAccessPage', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'f799364c-2ba8-4760-75d3-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '62e2344d-7ddc-4017-75d4-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('62e2344d-7ddc-4017-75d4-08d9e25ba937', NULL, 'settingsBlockEditDeviceName', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'settingsBlockEditDeviceName', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '62e2344d-7ddc-4017-75d4-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b478adeb-7334-49ce-75d5-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b478adeb-7334-49ce-75d5-08d9e25ba937', NULL, 'settingsBlockGamingPage', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'settingsBlockGamingPage', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'b478adeb-7334-49ce-75d5-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5ad8fd2f-a371-4064-75d6-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5ad8fd2f-a371-4064-75d6-08d9e25ba937', NULL, 'settingsBlockNetworkInternetPage', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'settingsBlockNetworkInternetPage', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '5ad8fd2f-a371-4064-75d6-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fac3adc9-1cef-4242-75d7-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fac3adc9-1cef-4242-75d7-08d9e25ba937', NULL, 'settingsBlockPersonalizationPage', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'settingsBlockPersonalizationPage', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'fac3adc9-1cef-4242-75d7-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b29412fa-b2ab-460a-75d8-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b29412fa-b2ab-460a-75d8-08d9e25ba937', NULL, 'settingsBlockPrivacyPage', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'settingsBlockPrivacyPage', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'b29412fa-b2ab-460a-75d8-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9b8a224d-0c83-49df-75d9-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9b8a224d-0c83-49df-75d9-08d9e25ba937', NULL, 'settingsBlockRemoveProvisioningPackage', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'settingsBlockRemoveProvisioningPackage', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '9b8a224d-0c83-49df-75d9-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e11c4dfc-8b01-4304-75da-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e11c4dfc-8b01-4304-75da-08d9e25ba937', NULL, 'settingsBlockSettingsApp', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'settingsBlockSettingsApp', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'e11c4dfc-8b01-4304-75da-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1b718659-07c0-4216-75db-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1b718659-07c0-4216-75db-08d9e25ba937', NULL, 'settingsBlockSystemPage', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'settingsBlockSystemPage', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '1b718659-07c0-4216-75db-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '780ea4ba-4b2d-4b56-75dc-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('780ea4ba-4b2d-4b56-75dc-08d9e25ba937', NULL, 'settingsBlockTimeLanguagePage', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'settingsBlockTimeLanguagePage', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '780ea4ba-4b2d-4b56-75dc-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '472ec635-dc17-4f0b-75dd-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('472ec635-dc17-4f0b-75dd-08d9e25ba937', NULL, 'settingsBlockUpdateSecurityPage', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'settingsBlockUpdateSecurityPage', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '472ec635-dc17-4f0b-75dd-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f8df07ba-8a2c-4c79-75de-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f8df07ba-8a2c-4c79-75de-08d9e25ba937', NULL, 'sharedUserAppDataAllowed', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'sharedUserAppDataAllowed', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'f8df07ba-8a2c-4c79-75de-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0466cfd4-cecd-4ed9-75df-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0466cfd4-cecd-4ed9-75df-08d9e25ba937', NULL, 'smartScreenAppInstallControl', 'Microsoft.Graph.AppInstallControlType', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'smartScreenAppInstallControl', [DataType] = 'Microsoft.Graph.AppInstallControlType', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '0466cfd4-cecd-4ed9-75df-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '099015fd-67ae-44e3-75e0-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('099015fd-67ae-44e3-75e0-08d9e25ba937', NULL, 'smartScreenBlockPromptOverride', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'smartScreenBlockPromptOverride', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '099015fd-67ae-44e3-75e0-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3fb3fe79-908c-4046-75e1-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3fb3fe79-908c-4046-75e1-08d9e25ba937', NULL, 'smartScreenBlockPromptOverrideForFiles', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'smartScreenBlockPromptOverrideForFiles', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '3fb3fe79-908c-4046-75e1-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fb8b3bfe-ce3b-4f49-75e2-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fb8b3bfe-ce3b-4f49-75e2-08d9e25ba937', NULL, 'smartScreenEnableAppInstallControl', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'smartScreenEnableAppInstallControl', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'fb8b3bfe-ce3b-4f49-75e2-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c27354b2-eec9-4114-75e3-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c27354b2-eec9-4114-75e3-08d9e25ba937', NULL, 'startBlockUnpinningAppsFromTaskbar', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startBlockUnpinningAppsFromTaskbar', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'c27354b2-eec9-4114-75e3-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fe390f7b-17b7-4579-75e4-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fe390f7b-17b7-4579-75e4-08d9e25ba937', NULL, 'startMenuAppListVisibility', 'Microsoft.Graph.WindowsStartMenuAppListVisibilityType', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuAppListVisibility', [DataType] = 'Microsoft.Graph.WindowsStartMenuAppListVisibilityType', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'fe390f7b-17b7-4579-75e4-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '050817e9-166c-482c-75e5-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('050817e9-166c-482c-75e5-08d9e25ba937', NULL, 'startMenuHideChangeAccountSettings', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuHideChangeAccountSettings', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '050817e9-166c-482c-75e5-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'ed54d6ed-ae20-4c0c-75e6-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('ed54d6ed-ae20-4c0c-75e6-08d9e25ba937', NULL, 'startMenuHideFrequentlyUsedApps', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuHideFrequentlyUsedApps', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'ed54d6ed-ae20-4c0c-75e6-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '03d45f83-1a2d-4393-75e7-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('03d45f83-1a2d-4393-75e7-08d9e25ba937', NULL, 'startMenuHideHibernate', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuHideHibernate', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '03d45f83-1a2d-4393-75e7-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'bb74c9a8-d542-4a03-75e8-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('bb74c9a8-d542-4a03-75e8-08d9e25ba937', NULL, 'startMenuHideLock', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuHideLock', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'bb74c9a8-d542-4a03-75e8-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '36412d33-899c-40d0-75e9-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('36412d33-899c-40d0-75e9-08d9e25ba937', NULL, 'startMenuHidePowerButton', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuHidePowerButton', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '36412d33-899c-40d0-75e9-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c0123219-cae8-4dbe-75ea-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c0123219-cae8-4dbe-75ea-08d9e25ba937', NULL, 'startMenuHideRecentJumpLists', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuHideRecentJumpLists', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'c0123219-cae8-4dbe-75ea-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd8bc7170-8269-424f-75eb-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d8bc7170-8269-424f-75eb-08d9e25ba937', NULL, 'startMenuHideRecentlyAddedApps', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuHideRecentlyAddedApps', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'd8bc7170-8269-424f-75eb-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b4ce16db-823e-4056-75ec-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b4ce16db-823e-4056-75ec-08d9e25ba937', NULL, 'startMenuHideRestartOptions', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuHideRestartOptions', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'b4ce16db-823e-4056-75ec-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f448b283-ec41-444c-75ed-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f448b283-ec41-444c-75ed-08d9e25ba937', NULL, 'startMenuHideShutDown', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuHideShutDown', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'f448b283-ec41-444c-75ed-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '28771842-c5ea-4780-75ee-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('28771842-c5ea-4780-75ee-08d9e25ba937', NULL, 'startMenuHideSignOut', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuHideSignOut', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '28771842-c5ea-4780-75ee-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9ed1b9b2-29f7-4879-75ef-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9ed1b9b2-29f7-4879-75ef-08d9e25ba937', NULL, 'startMenuHideSleep', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuHideSleep', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '9ed1b9b2-29f7-4879-75ef-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '979eb336-91ef-4293-75f0-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('979eb336-91ef-4293-75f0-08d9e25ba937', NULL, 'startMenuHideSwitchAccount', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuHideSwitchAccount', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '979eb336-91ef-4293-75f0-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6eed4f37-627a-48a2-75f1-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6eed4f37-627a-48a2-75f1-08d9e25ba937', NULL, 'startMenuHideUserTile', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuHideUserTile', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '6eed4f37-627a-48a2-75f1-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd4f8bc69-f550-4359-75f2-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d4f8bc69-f550-4359-75f2-08d9e25ba937', NULL, 'startMenuLayoutEdgeAssetsXml', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuLayoutEdgeAssetsXml', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'd4f8bc69-f550-4359-75f2-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'aa4beaae-c803-4b36-75f3-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('aa4beaae-c803-4b36-75f3-08d9e25ba937', NULL, 'startMenuLayoutXml', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuLayoutXml', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'aa4beaae-c803-4b36-75f3-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6fe1f13b-b1b4-4c1b-75f4-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6fe1f13b-b1b4-4c1b-75f4-08d9e25ba937', NULL, 'startMenuMode', 'Microsoft.Graph.WindowsStartMenuModeType', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuMode', [DataType] = 'Microsoft.Graph.WindowsStartMenuModeType', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '6fe1f13b-b1b4-4c1b-75f4-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'aecbb37c-3d1c-432d-75f5-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('aecbb37c-3d1c-432d-75f5-08d9e25ba937', NULL, 'startMenuPinnedFolderDocuments', 'Microsoft.Graph.VisibilitySetting', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuPinnedFolderDocuments', [DataType] = 'Microsoft.Graph.VisibilitySetting', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'aecbb37c-3d1c-432d-75f5-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3be1bd34-865a-4734-75f6-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3be1bd34-865a-4734-75f6-08d9e25ba937', NULL, 'startMenuPinnedFolderDownloads', 'Microsoft.Graph.VisibilitySetting', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuPinnedFolderDownloads', [DataType] = 'Microsoft.Graph.VisibilitySetting', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '3be1bd34-865a-4734-75f6-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '488e284f-a32a-4a1d-75f7-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('488e284f-a32a-4a1d-75f7-08d9e25ba937', NULL, 'startMenuPinnedFolderFileExplorer', 'Microsoft.Graph.VisibilitySetting', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuPinnedFolderFileExplorer', [DataType] = 'Microsoft.Graph.VisibilitySetting', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '488e284f-a32a-4a1d-75f7-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3a0cf831-6180-44b5-75f8-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3a0cf831-6180-44b5-75f8-08d9e25ba937', NULL, 'startMenuPinnedFolderHomeGroup', 'Microsoft.Graph.VisibilitySetting', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuPinnedFolderHomeGroup', [DataType] = 'Microsoft.Graph.VisibilitySetting', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '3a0cf831-6180-44b5-75f8-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '78857e0c-7ffb-4682-75f9-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('78857e0c-7ffb-4682-75f9-08d9e25ba937', NULL, 'startMenuPinnedFolderMusic', 'Microsoft.Graph.VisibilitySetting', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuPinnedFolderMusic', [DataType] = 'Microsoft.Graph.VisibilitySetting', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '78857e0c-7ffb-4682-75f9-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a9489c51-e624-4ed1-75fa-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a9489c51-e624-4ed1-75fa-08d9e25ba937', NULL, 'startMenuPinnedFolderNetwork', 'Microsoft.Graph.VisibilitySetting', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuPinnedFolderNetwork', [DataType] = 'Microsoft.Graph.VisibilitySetting', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'a9489c51-e624-4ed1-75fa-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9764872f-0f03-4661-75fb-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9764872f-0f03-4661-75fb-08d9e25ba937', NULL, 'startMenuPinnedFolderPersonalFolder', 'Microsoft.Graph.VisibilitySetting', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuPinnedFolderPersonalFolder', [DataType] = 'Microsoft.Graph.VisibilitySetting', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '9764872f-0f03-4661-75fb-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'daeca24f-ad65-4c7a-75fc-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('daeca24f-ad65-4c7a-75fc-08d9e25ba937', NULL, 'startMenuPinnedFolderPictures', 'Microsoft.Graph.VisibilitySetting', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuPinnedFolderPictures', [DataType] = 'Microsoft.Graph.VisibilitySetting', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'daeca24f-ad65-4c7a-75fc-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '857368c0-73a7-48f2-75fd-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('857368c0-73a7-48f2-75fd-08d9e25ba937', NULL, 'startMenuPinnedFolderSettings', 'Microsoft.Graph.VisibilitySetting', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuPinnedFolderSettings', [DataType] = 'Microsoft.Graph.VisibilitySetting', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '857368c0-73a7-48f2-75fd-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '446d7d67-b4b5-4ad9-75fe-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('446d7d67-b4b5-4ad9-75fe-08d9e25ba937', NULL, 'startMenuPinnedFolderVideos', 'Microsoft.Graph.VisibilitySetting', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startMenuPinnedFolderVideos', [DataType] = 'Microsoft.Graph.VisibilitySetting', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '446d7d67-b4b5-4ad9-75fe-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c81b9cf2-2225-4321-75ff-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c81b9cf2-2225-4321-75ff-08d9e25ba937', NULL, 'storageBlockRemovableStorage', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'storageBlockRemovableStorage', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'c81b9cf2-2225-4321-75ff-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a939da7c-7026-4338-7600-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a939da7c-7026-4338-7600-08d9e25ba937', NULL, 'storageRequireMobileDeviceEncryption', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'storageRequireMobileDeviceEncryption', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'a939da7c-7026-4338-7600-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '76b64f8d-c7bd-471f-7601-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('76b64f8d-c7bd-471f-7601-08d9e25ba937', NULL, 'storageRestrictAppDataToSystemVolume', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'storageRestrictAppDataToSystemVolume', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '76b64f8d-c7bd-471f-7601-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4bcece11-3032-4da5-7602-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4bcece11-3032-4da5-7602-08d9e25ba937', NULL, 'storageRestrictAppInstallToSystemVolume', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'storageRestrictAppInstallToSystemVolume', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '4bcece11-3032-4da5-7602-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e353f666-b592-4cf0-7603-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e353f666-b592-4cf0-7603-08d9e25ba937', NULL, 'systemTelemetryProxyServer', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'systemTelemetryProxyServer', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'e353f666-b592-4cf0-7603-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6f78f56d-9fc8-4e7b-7604-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6f78f56d-9fc8-4e7b-7604-08d9e25ba937', NULL, 'taskManagerBlockEndTask', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'taskManagerBlockEndTask', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '6f78f56d-9fc8-4e7b-7604-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c9e20310-fc6c-466d-7605-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c9e20310-fc6c-466d-7605-08d9e25ba937', NULL, 'tenantLockdownRequireNetworkDuringOutOfBoxExperience', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'tenantLockdownRequireNetworkDuringOutOfBoxExperience', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'c9e20310-fc6c-466d-7605-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c3d52c29-01a9-4419-7606-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c3d52c29-01a9-4419-7606-08d9e25ba937', NULL, 'uninstallBuiltInApps', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'uninstallBuiltInApps', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'c3d52c29-01a9-4419-7606-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1eeb24a3-171b-4635-7607-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1eeb24a3-171b-4635-7607-08d9e25ba937', NULL, 'usbBlocked', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'usbBlocked', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '1eeb24a3-171b-4635-7607-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '40435660-3f56-4658-7608-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('40435660-3f56-4658-7608-08d9e25ba937', NULL, 'voiceRecordingBlocked', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'voiceRecordingBlocked', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '40435660-3f56-4658-7608-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '05224b61-5e30-4f20-7609-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('05224b61-5e30-4f20-7609-08d9e25ba937', NULL, 'webRtcBlockLocalhostIpAddress', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'webRtcBlockLocalhostIpAddress', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '05224b61-5e30-4f20-7609-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0d667153-286f-433d-760a-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0d667153-286f-433d-760a-08d9e25ba937', NULL, 'wiFiBlockAutomaticConnectHotspots', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'wiFiBlockAutomaticConnectHotspots', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '0d667153-286f-433d-760a-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3bfa3255-dafc-44fc-760b-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3bfa3255-dafc-44fc-760b-08d9e25ba937', NULL, 'wiFiBlocked', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'wiFiBlocked', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '3bfa3255-dafc-44fc-760b-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '98f98c34-edeb-42a5-760c-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('98f98c34-edeb-42a5-760c-08d9e25ba937', NULL, 'wiFiBlockManualConfiguration', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'wiFiBlockManualConfiguration', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '98f98c34-edeb-42a5-760c-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f8d8d6b4-a4c8-4509-760d-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f8d8d6b4-a4c8-4509-760d-08d9e25ba937', NULL, 'wiFiScanInterval', 'System.Int32', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'wiFiScanInterval', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'f8d8d6b4-a4c8-4509-760d-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c3dddc81-870d-4f58-760e-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c3dddc81-870d-4f58-760e-08d9e25ba937', NULL, 'windows10AppsForceUpdateSchedule', 'Microsoft.Graph.Windows10AppsForceUpdateSchedule', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'windows10AppsForceUpdateSchedule', [DataType] = 'Microsoft.Graph.Windows10AppsForceUpdateSchedule', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'c3dddc81-870d-4f58-760e-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6678d757-f7b8-48e8-760f-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6678d757-f7b8-48e8-760f-08d9e25ba937', NULL, 'windowsSpotlightBlockConsumerSpecificFeatures', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'windowsSpotlightBlockConsumerSpecificFeatures', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '6678d757-f7b8-48e8-760f-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b5b5f152-a8c8-475b-7610-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b5b5f152-a8c8-475b-7610-08d9e25ba937', NULL, 'windowsSpotlightBlocked', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'windowsSpotlightBlocked', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'b5b5f152-a8c8-475b-7610-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6a40868f-8fa7-4076-7611-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6a40868f-8fa7-4076-7611-08d9e25ba937', NULL, 'windowsSpotlightBlockOnActionCenter', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'windowsSpotlightBlockOnActionCenter', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '6a40868f-8fa7-4076-7611-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '433f965b-3672-4ac5-7612-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('433f965b-3672-4ac5-7612-08d9e25ba937', NULL, 'windowsSpotlightBlockTailoredExperiences', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'windowsSpotlightBlockTailoredExperiences', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '433f965b-3672-4ac5-7612-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fee75d1b-c44e-4e92-7613-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fee75d1b-c44e-4e92-7613-08d9e25ba937', NULL, 'windowsSpotlightBlockThirdPartyNotifications', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'windowsSpotlightBlockThirdPartyNotifications', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'fee75d1b-c44e-4e92-7613-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd24aaa4a-a4ab-42f5-7614-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d24aaa4a-a4ab-42f5-7614-08d9e25ba937', NULL, 'windowsSpotlightBlockWelcomeExperience', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'windowsSpotlightBlockWelcomeExperience', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'd24aaa4a-a4ab-42f5-7614-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3f6f4d82-de42-4736-7615-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3f6f4d82-de42-4736-7615-08d9e25ba937', NULL, 'windowsSpotlightBlockWindowsTips', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'windowsSpotlightBlockWindowsTips', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '3f6f4d82-de42-4736-7615-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '526411da-86ec-4871-7616-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('526411da-86ec-4871-7616-08d9e25ba937', NULL, 'windowsSpotlightConfigureOnLockScreen', 'Microsoft.Graph.WindowsSpotlightEnablementSettings', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'windowsSpotlightConfigureOnLockScreen', [DataType] = 'Microsoft.Graph.WindowsSpotlightEnablementSettings', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '526411da-86ec-4871-7616-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'add01bdb-937e-4e46-7617-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('add01bdb-937e-4e46-7617-08d9e25ba937', NULL, 'windowsStoreBlockAutoUpdate', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'windowsStoreBlockAutoUpdate', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = 'add01bdb-937e-4e46-7617-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '47d599e9-8b94-48dc-7618-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('47d599e9-8b94-48dc-7618-08d9e25ba937', NULL, 'windowsStoreBlocked', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'windowsStoreBlocked', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '47d599e9-8b94-48dc-7618-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9cb02e15-b10d-49ea-7619-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9cb02e15-b10d-49ea-7619-08d9e25ba937', NULL, 'windowsStoreEnablePrivateStoreOnly', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'windowsStoreEnablePrivateStoreOnly', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '9cb02e15-b10d-49ea-7619-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8a5f9f51-7f80-4d9d-761a-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8a5f9f51-7f80-4d9d-761a-08d9e25ba937', NULL, 'wirelessDisplayBlockProjectionToThisDevice', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'wirelessDisplayBlockProjectionToThisDevice', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '8a5f9f51-7f80-4d9d-761a-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5fe56e44-9c82-4c81-761b-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5fe56e44-9c82-4c81-761b-08d9e25ba937', NULL, 'wirelessDisplayBlockUserInputFromReceiver', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'wirelessDisplayBlockUserInputFromReceiver', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '5fe56e44-9c82-4c81-761b-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '54bf2fca-ba38-4977-761c-08d9e25ba937')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('54bf2fca-ba38-4977-761c-08d9e25ba937', NULL, 'wirelessDisplayRequirePinForPairing', 'System.Boolean', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'wirelessDisplayRequirePinForPairing', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '54bf2fca-ba38-4977-761c-08d9e25ba937'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '47dc00bc-c6e5-4902-ac33-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('47dc00bc-c6e5-4902-ac33-08db7eed3888', NULL, 'allowedDomainGuidsForSyncApp', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'allowedDomainGuidsForSyncApp', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = '47dc00bc-c6e5-4902-ac33-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '40c3c8ca-0b6a-4a9c-ac34-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('40c3c8ca-0b6a-4a9c-ac34-08db7eed3888', NULL, 'availableManagedPathsForSiteCreation', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'availableManagedPathsForSiteCreation', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = '40c3c8ca-0b6a-4a9c-ac34-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd08c297f-3283-4241-ac35-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d08c297f-3283-4241-ac35-08db7eed3888', NULL, 'deletedUserPersonalSiteRetentionPeriodInDays', 'System.Int32', '0', '1', '0', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'deletedUserPersonalSiteRetentionPeriodInDays', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = 'd08c297f-3283-4241-ac35-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f9e6aa76-5166-42bb-ac36-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f9e6aa76-5166-42bb-ac36-08db7eed3888', NULL, 'excludedFileExtensionsForSyncApp', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'excludedFileExtensionsForSyncApp', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = 'f9e6aa76-5166-42bb-ac36-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '64dc8c63-5aff-4823-ac37-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('64dc8c63-5aff-4823-ac37-08db7eed3888', NULL, 'isCommentingOnSitePagesEnabled', 'System.Boolean', '0', '1', '0', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isCommentingOnSitePagesEnabled', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = '64dc8c63-5aff-4823-ac37-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '47a0aad6-9cc9-494e-ac38-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('47a0aad6-9cc9-494e-ac38-08db7eed3888', NULL, 'isFileActivityNotificationEnabled', 'System.Boolean', '0', '1', '0', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isFileActivityNotificationEnabled', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = '47a0aad6-9cc9-494e-ac38-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5c77836a-3458-437b-ac39-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5c77836a-3458-437b-ac39-08db7eed3888', NULL, 'isLegacyAuthProtocolsEnabled', 'System.Boolean', '0', '1', '0', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isLegacyAuthProtocolsEnabled', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = '5c77836a-3458-437b-ac39-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '2a1a10e6-cdda-49c6-ac3a-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('2a1a10e6-cdda-49c6-ac3a-08db7eed3888', NULL, 'isLoopEnabled', 'System.Boolean', '0', '1', '0', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isLoopEnabled', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = '2a1a10e6-cdda-49c6-ac3a-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'da129eb2-deca-4cc7-ac3b-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('da129eb2-deca-4cc7-ac3b-08db7eed3888', NULL, 'isMacSyncAppEnabled', 'System.Boolean', '0', '1', '0', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isMacSyncAppEnabled', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = 'da129eb2-deca-4cc7-ac3b-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd0359ad5-5032-446b-ac3c-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d0359ad5-5032-446b-ac3c-08db7eed3888', NULL, 'isRequireAcceptingUserToMatchInvitedUserEnabled', 'System.Boolean', '0', '1', '0', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isRequireAcceptingUserToMatchInvitedUserEnabled', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = 'd0359ad5-5032-446b-ac3c-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b6d6d089-d13f-4078-ac3d-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b6d6d089-d13f-4078-ac3d-08db7eed3888', NULL, 'isResharingByExternalUsersEnabled', 'System.Boolean', '0', '1', '0', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isResharingByExternalUsersEnabled', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = 'b6d6d089-d13f-4078-ac3d-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e5cdec57-a275-4046-ac3e-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e5cdec57-a275-4046-ac3e-08db7eed3888', NULL, 'isSharePointMobileNotificationEnabled', 'System.Boolean', '0', '1', '0', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isSharePointMobileNotificationEnabled', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = 'e5cdec57-a275-4046-ac3e-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8808bbc0-7827-47a2-ac3f-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8808bbc0-7827-47a2-ac3f-08db7eed3888', NULL, 'isSharePointNewsfeedEnabled', 'System.Boolean', '0', '1', '0', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isSharePointNewsfeedEnabled', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = '8808bbc0-7827-47a2-ac3f-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e2676a39-2480-420f-ac40-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e2676a39-2480-420f-ac40-08db7eed3888', NULL, 'isSiteCreationEnabled', 'System.Boolean', '0', '1', '0', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isSiteCreationEnabled', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = 'e2676a39-2480-420f-ac40-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '743a569b-89c1-4095-ac41-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('743a569b-89c1-4095-ac41-08db7eed3888', NULL, 'isSiteCreationUIEnabled', 'System.Boolean', '0', '1', '0', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isSiteCreationUIEnabled', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = '743a569b-89c1-4095-ac41-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '2c15e01e-7758-4e71-ac42-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('2c15e01e-7758-4e71-ac42-08db7eed3888', NULL, 'isSitePagesCreationEnabled', 'System.Boolean', '0', '1', '0', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isSitePagesCreationEnabled', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = '2c15e01e-7758-4e71-ac42-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1816081f-9145-41da-ac43-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1816081f-9145-41da-ac43-08db7eed3888', NULL, 'isSitesStorageLimitAutomatic', 'System.Boolean', '0', '1', '0', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isSitesStorageLimitAutomatic', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = '1816081f-9145-41da-ac43-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9e3c63c4-9f5d-414f-ac44-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9e3c63c4-9f5d-414f-ac44-08db7eed3888', NULL, 'isSyncButtonHiddenOnPersonalSite', 'System.Boolean', '0', '1', '0', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isSyncButtonHiddenOnPersonalSite', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = '9e3c63c4-9f5d-414f-ac44-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '70b727ff-ad34-47d6-ac45-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('70b727ff-ad34-47d6-ac45-08db7eed3888', NULL, 'isUnmanagedSyncAppForTenantRestricted', 'System.Boolean', '0', '1', '0', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isUnmanagedSyncAppForTenantRestricted', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = '70b727ff-ad34-47d6-ac45-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '162eb050-34af-4c91-ac46-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('162eb050-34af-4c91-ac46-08db7eed3888', NULL, 'personalSiteDefaultStorageLimitInMB', 'System.String', '0', '1', '0', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'personalSiteDefaultStorageLimitInMB', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = '162eb050-34af-4c91-ac46-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '38c5ef92-d91b-4a48-ac47-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('38c5ef92-d91b-4a48-ac47-08db7eed3888', NULL, 'sharingAllowedDomainList', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'sharingAllowedDomainList', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = '38c5ef92-d91b-4a48-ac47-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'aff83d9e-e259-42f5-ac48-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('aff83d9e-e259-42f5-ac48-08db7eed3888', NULL, 'sharingBlockedDomainList', 'System.Collections.Generic.List`1[System.String]', '0', '1', '1', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'sharingBlockedDomainList', [DataType] = 'System.Collections.Generic.List`1[System.String]', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = 'aff83d9e-e259-42f5-ac48-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6a317395-183c-4830-ac49-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6a317395-183c-4830-ac49-08db7eed3888', NULL, 'siteCreationDefaultManagedPath', 'System.String', '0', '1', '0', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'siteCreationDefaultManagedPath', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = '6a317395-183c-4830-ac49-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '20dd87f9-10b6-4f0f-ac4a-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('20dd87f9-10b6-4f0f-ac4a-08db7eed3888', NULL, 'siteCreationDefaultStorageLimitInMB', 'System.Int32', '0', '1', '0', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'siteCreationDefaultStorageLimitInMB', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = '20dd87f9-10b6-4f0f-ac4a-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd9cddcef-180c-47cf-ac4b-08db7eed3888')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d9cddcef-180c-47cf-ac4b-08db7eed3888', NULL, 'tenantDefaultTimezone', 'System.String', '0', '1', '0', '10', '0', '16')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'tenantDefaultTimezone', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '10', [ApplicableFilters] = '0', [GraphSourceId] = '16' WHERE [Id] = 'd9cddcef-180c-47cf-ac4b-08db7eed3888'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9ebb4422-7af1-4816-b15c-08db883c2098')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9ebb4422-7af1-4816-b15c-08db883c2098', NULL, 'createdDateTime', 'System.DateTimeOffset', '0', '1', '0', '17', '0', '24')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'createdDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '17', [ApplicableFilters] = '0', [GraphSourceId] = '24' WHERE [Id] = '9ebb4422-7af1-4816-b15c-08db883c2098'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '857b8b0a-545e-4124-b15d-08db883c2098')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('857b8b0a-545e-4124-b15d-08db883c2098', NULL, 'description', 'System.String', '0', '1', '0', '17', '0', '24')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'description', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '17', [ApplicableFilters] = '0', [GraphSourceId] = '24' WHERE [Id] = '857b8b0a-545e-4124-b15d-08db883c2098'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '306f8e0c-efe9-44e7-b15e-08db883c2098')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('306f8e0c-efe9-44e7-b15e-08db883c2098', NULL, 'displayName', 'System.String', '0', '1', '0', '17', '0', '24')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'displayName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '17', [ApplicableFilters] = '0', [GraphSourceId] = '24' WHERE [Id] = '306f8e0c-efe9-44e7-b15e-08db883c2098'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'dc084cce-22ad-4f7e-b15f-08db883c2098')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('dc084cce-22ad-4f7e-b15f-08db883c2098', NULL, 'email', 'System.String', '0', '1', '0', '17', '0', '24')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'email', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '17', [ApplicableFilters] = '0', [GraphSourceId] = '24' WHERE [Id] = 'dc084cce-22ad-4f7e-b15f-08db883c2098'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '94da00dc-0a0e-4f04-b160-08db883c2098')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('94da00dc-0a0e-4f04-b160-08db883c2098', NULL, 'isFavoriteByDefault', 'System.Boolean', '0', '1', '0', '17', '0', '24')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isFavoriteByDefault', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '17', [ApplicableFilters] = '0', [GraphSourceId] = '24' WHERE [Id] = '94da00dc-0a0e-4f04-b160-08db883c2098'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1d6c79d2-a8cd-46a6-b161-08db883c2098')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1d6c79d2-a8cd-46a6-b161-08db883c2098', NULL, 'membershipType', 'System.String', '0', '1', '0', '17', '0', '24')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'membershipType', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '17', [ApplicableFilters] = '0', [GraphSourceId] = '24' WHERE [Id] = '1d6c79d2-a8cd-46a6-b161-08db883c2098'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '08354d3b-8857-4319-b162-08db883c2098')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('08354d3b-8857-4319-b162-08db883c2098', NULL, 'tenantId', 'System.String', '0', '1', '0', '17', '0', '24')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'tenantId', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '17', [ApplicableFilters] = '0', [GraphSourceId] = '24' WHERE [Id] = '08354d3b-8857-4319-b162-08db883c2098'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3bde13fa-1803-4eef-b163-08db883c2098')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3bde13fa-1803-4eef-b163-08db883c2098', NULL, 'webUrl', 'System.String', '0', '1', '0', '17', '0', '24')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'webUrl', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '17', [ApplicableFilters] = '0', [GraphSourceId] = '24' WHERE [Id] = '3bde13fa-1803-4eef-b163-08db883c2098'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0ce6e66e-2fd2-4a8b-55f4-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0ce6e66e-2fd2-4a8b-55f4-08db89d8ef00', NULL, 'callDurationSource', 'System.String', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'callDurationSource', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = '0ce6e66e-2fd2-4a8b-55f4-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5517da3e-fa59-454e-55f5-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5517da3e-fa59-454e-55f5-08db89d8ef00', NULL, 'calleeNumber', 'System.String', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'calleeNumber', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = '5517da3e-fa59-454e-55f5-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '39b74ad7-e379-483a-55f6-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('39b74ad7-e379-483a-55f6-08db89d8ef00', NULL, 'callerNumber', 'System.String', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'callerNumber', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = '39b74ad7-e379-483a-55f6-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'bcc39ccc-dc9a-4b00-55f7-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('bcc39ccc-dc9a-4b00-55f7-08db89d8ef00', NULL, 'callId', 'System.String', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'callId', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = 'bcc39ccc-dc9a-4b00-55f7-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b08a7242-da7b-40fb-55f8-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b08a7242-da7b-40fb-55f8-08db89d8ef00', NULL, 'callType', 'System.String', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'callType', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = 'b08a7242-da7b-40fb-55f8-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4e6dfde3-90eb-4afb-55f9-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4e6dfde3-90eb-4afb-55f9-08db89d8ef00', NULL, 'charge', 'System.Single', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'charge', [DataType] = 'System.Single', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = '4e6dfde3-90eb-4afb-55f9-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd01b0ec5-10c9-4ab6-55fa-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d01b0ec5-10c9-4ab6-55fa-08db89d8ef00', NULL, 'conferenceId', 'System.String', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'conferenceId', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = 'd01b0ec5-10c9-4ab6-55fa-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '552c25bf-00c3-472e-55fb-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('552c25bf-00c3-472e-55fb-08db89d8ef00', NULL, 'connectionCharge', 'System.Single', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'connectionCharge', [DataType] = 'System.Single', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = '552c25bf-00c3-472e-55fb-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f6cf5441-dad9-4db7-55fc-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f6cf5441-dad9-4db7-55fc-08db89d8ef00', NULL, 'currency', 'System.String', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'currency', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = 'f6cf5441-dad9-4db7-55fc-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'bfb21793-10d7-4aac-55fd-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('bfb21793-10d7-4aac-55fd-08db89d8ef00', NULL, 'destinationContext', 'System.String', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'destinationContext', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = 'bfb21793-10d7-4aac-55fd-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'ba1b54ad-6284-4fed-55fe-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('ba1b54ad-6284-4fed-55fe-08db89d8ef00', NULL, 'destinationName', 'System.String', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'destinationName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = 'ba1b54ad-6284-4fed-55fe-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'ba666aa6-a437-4fb4-55ff-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('ba666aa6-a437-4fb4-55ff-08db89d8ef00', NULL, 'duration', 'System.Int32', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'duration', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = 'ba666aa6-a437-4fb4-55ff-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6f03d9c1-f150-4dc6-5600-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6f03d9c1-f150-4dc6-5600-08db89d8ef00', NULL, 'endDateTime', 'System.DateTimeOffset', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'endDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = '6f03d9c1-f150-4dc6-5600-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'dfd258d2-4b0e-49b9-5601-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('dfd258d2-4b0e-49b9-5601-08db89d8ef00', NULL, 'id', 'System.String', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'id', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = 'dfd258d2-4b0e-49b9-5601-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6cef569d-30a8-4563-5602-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6cef569d-30a8-4563-5602-08db89d8ef00', NULL, 'inventoryType', 'System.String', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'inventoryType', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = '6cef569d-30a8-4563-5602-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'be62fec6-c3cd-4c46-5603-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('be62fec6-c3cd-4c46-5603-08db89d8ef00', NULL, 'licenseCapability', 'System.String', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'licenseCapability', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = 'be62fec6-c3cd-4c46-5603-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'ca5ed6ac-b780-4031-5604-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('ca5ed6ac-b780-4031-5604-08db89d8ef00', NULL, 'operator', 'System.String', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'operator', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = 'ca5ed6ac-b780-4031-5604-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9307c8ae-ba58-43f4-5605-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9307c8ae-ba58-43f4-5605-08db89d8ef00', NULL, 'startDateTime', 'System.DateTimeOffset', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'startDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = '9307c8ae-ba58-43f4-5605-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'edeea22b-9a03-4544-5606-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('edeea22b-9a03-4544-5606-08db89d8ef00', NULL, 'tenantCountryCode', 'System.String', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'tenantCountryCode', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = 'edeea22b-9a03-4544-5606-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a4445fc6-d9d5-4e65-5607-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a4445fc6-d9d5-4e65-5607-08db89d8ef00', NULL, 'usageCountryCode', 'System.String', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'usageCountryCode', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = 'a4445fc6-d9d5-4e65-5607-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '37ca5468-8480-4145-5608-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('37ca5468-8480-4145-5608-08db89d8ef00', NULL, 'userDisplayName', 'System.String', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'userDisplayName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = '37ca5468-8480-4145-5608-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b74551ca-4a07-44b4-5609-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b74551ca-4a07-44b4-5609-08db89d8ef00', NULL, 'userId', 'System.String', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'userId', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = 'b74551ca-4a07-44b4-5609-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '274a1f92-a7ea-4ad6-560a-08db89d8ef00')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('274a1f92-a7ea-4ad6-560a-08db89d8ef00', NULL, 'userPrincipalName', 'System.String', '0', '1', '0', '16', '0', '22')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'userPrincipalName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '16', [ApplicableFilters] = '0', [GraphSourceId] = '22' WHERE [Id] = '274a1f92-a7ea-4ad6-560a-08db89d8ef00'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd5011cc9-f16d-4fed-1f0e-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d5011cc9-f16d-4fed-1f0e-08db8c335cbb', NULL, 'Report Refresh Date', 'System.DateTimeOffset', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Refresh Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = 'd5011cc9-f16d-4fed-1f0e-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '34eedb7d-f2dd-48aa-1f0f-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('34eedb7d-f2dd-48aa-1f0f-08db8c335cbb', NULL, 'User Id', 'System.String', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'User Id', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = '34eedb7d-f2dd-48aa-1f0f-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0e1c5db0-a048-4f5c-1f10-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0e1c5db0-a048-4f5c-1f10-08db8c335cbb', NULL, 'User Principal Name', 'System.String', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'User Principal Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = '0e1c5db0-a048-4f5c-1f10-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'af04acd1-a527-4db2-1f11-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('af04acd1-a527-4db2-1f11-08db8c335cbb', NULL, 'Last Activity Date', 'System.DateTimeOffset', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Last Activity Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = 'af04acd1-a527-4db2-1f11-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8b383900-7186-41a7-1f12-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8b383900-7186-41a7-1f12-08db8c335cbb', NULL, 'Is Deleted', 'System.Boolean', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Is Deleted', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = '8b383900-7186-41a7-1f12-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c7ff31a2-720b-4fd1-1f13-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c7ff31a2-720b-4fd1-1f13-08db8c335cbb', NULL, 'Deleted Date', 'System.DateTimeOffset', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Deleted Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = 'c7ff31a2-720b-4fd1-1f13-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '64ecabf4-8bcb-4db7-1f14-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('64ecabf4-8bcb-4db7-1f14-08db8c335cbb', NULL, 'Assigned Products', 'System.String', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Assigned Products', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = '64ecabf4-8bcb-4db7-1f14-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1dba7227-e1e2-473d-1f15-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1dba7227-e1e2-473d-1f15-08db8c335cbb', NULL, 'Team Chat Message Count', 'System.Int32', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Team Chat Message Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = '1dba7227-e1e2-473d-1f15-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a543d9e7-c994-4198-1f16-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a543d9e7-c994-4198-1f16-08db8c335cbb', NULL, 'Private Chat Message Count', 'System.Int32', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Private Chat Message Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = 'a543d9e7-c994-4198-1f16-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'ea92322d-e1ed-470c-1f17-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('ea92322d-e1ed-470c-1f17-08db8c335cbb', NULL, 'Call Count', 'System.Int32', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Call Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = 'ea92322d-e1ed-470c-1f17-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '62ba1ad3-9aea-47e7-1f18-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('62ba1ad3-9aea-47e7-1f18-08db8c335cbb', NULL, 'Meeting Count', 'System.Int32', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Meeting Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = '62ba1ad3-9aea-47e7-1f18-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3e28f8de-614d-45cc-1f19-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3e28f8de-614d-45cc-1f19-08db8c335cbb', NULL, 'Meetings Organized Count', 'System.Int32', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Meetings Organized Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = '3e28f8de-614d-45cc-1f19-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '80cdfb1b-94d9-4aee-1f1a-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('80cdfb1b-94d9-4aee-1f1a-08db8c335cbb', NULL, 'Meetings Attended Count', 'System.Int32', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Meetings Attended Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = '80cdfb1b-94d9-4aee-1f1a-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '246fd78e-1108-4bf2-1f1b-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('246fd78e-1108-4bf2-1f1b-08db8c335cbb', NULL, 'Ad Hoc Meetings Organized Count', 'System.Int32', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Ad Hoc Meetings Organized Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = '246fd78e-1108-4bf2-1f1b-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd0283e76-ebf3-414e-1f1c-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d0283e76-ebf3-414e-1f1c-08db8c335cbb', NULL, 'Ad Hoc Meetings Attended Count', 'System.Int32', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Ad Hoc Meetings Attended Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = 'd0283e76-ebf3-414e-1f1c-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9354adc1-9dda-4295-1f1d-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9354adc1-9dda-4295-1f1d-08db8c335cbb', NULL, 'Scheduled One-time Meetings Organized Count', 'System.Int32', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Scheduled One-time Meetings Organized Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = '9354adc1-9dda-4295-1f1d-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a199d04a-c0ca-4251-1f1e-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a199d04a-c0ca-4251-1f1e-08db8c335cbb', NULL, 'Scheduled One-time Meetings Attended Count', 'System.Int32', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Scheduled One-time Meetings Attended Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = 'a199d04a-c0ca-4251-1f1e-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '14213c4d-12bb-493d-1f1f-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('14213c4d-12bb-493d-1f1f-08db8c335cbb', NULL, 'Scheduled Recurring Meetings Organized Count', 'System.Int32', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Scheduled Recurring Meetings Organized Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = '14213c4d-12bb-493d-1f1f-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '21d7c077-cd2d-47bf-1f20-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('21d7c077-cd2d-47bf-1f20-08db8c335cbb', NULL, 'Scheduled Recurring Meetings Attended Count', 'System.Int32', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Scheduled Recurring Meetings Attended Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = '21d7c077-cd2d-47bf-1f20-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'ff5d78a8-a1ca-4af0-1f21-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('ff5d78a8-a1ca-4af0-1f21-08db8c335cbb', NULL, 'Audio Duration', 'System.String', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Audio Duration', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = 'ff5d78a8-a1ca-4af0-1f21-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd6cdd4c3-3ed2-4934-1f22-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d6cdd4c3-3ed2-4934-1f22-08db8c335cbb', NULL, 'Video Duration', 'System.String', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Video Duration', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = 'd6cdd4c3-3ed2-4934-1f22-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1d082ffb-792a-4744-1f23-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1d082ffb-792a-4744-1f23-08db8c335cbb', NULL, 'Screen Share Duration', 'System.String', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Screen Share Duration', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = '1d082ffb-792a-4744-1f23-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1cfee49b-3229-4254-1f24-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1cfee49b-3229-4254-1f24-08db8c335cbb', NULL, 'Audio Duration In Seconds', 'System.Int32', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Audio Duration In Seconds', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = '1cfee49b-3229-4254-1f24-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0b1455fc-cdb4-4e82-1f25-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0b1455fc-cdb4-4e82-1f25-08db8c335cbb', NULL, 'Video Duration In Seconds', 'System.Int32', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Video Duration In Seconds', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = '0b1455fc-cdb4-4e82-1f25-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b810ac95-1f63-4acc-1f26-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b810ac95-1f63-4acc-1f26-08db8c335cbb', NULL, 'Screen Share Duration In Seconds', 'System.Int32', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Screen Share Duration In Seconds', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = 'b810ac95-1f63-4acc-1f26-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '058f0c55-d0bc-423e-1f27-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('058f0c55-d0bc-423e-1f27-08db8c335cbb', NULL, 'Has Other Action', 'System.Boolean', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Has Other Action', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = '058f0c55-d0bc-423e-1f27-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'de0cc1c1-cfe7-4064-1f28-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('de0cc1c1-cfe7-4064-1f28-08db8c335cbb', NULL, 'Urgent Messages', 'System.Int32', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Urgent Messages', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = 'de0cc1c1-cfe7-4064-1f28-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c4cc52c6-9072-4bfb-1f29-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c4cc52c6-9072-4bfb-1f29-08db8c335cbb', NULL, 'Post Messages', 'System.Int32', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Post Messages', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = 'c4cc52c6-9072-4bfb-1f29-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0ce5cce3-e463-4a43-1f2a-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0ce5cce3-e463-4a43-1f2a-08db8c335cbb', NULL, 'Tenant Display Name', 'System.String', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Tenant Display Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = '0ce5cce3-e463-4a43-1f2a-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '285b975f-c327-4a12-1f2b-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('285b975f-c327-4a12-1f2b-08db8c335cbb', NULL, 'Shared Channel Tenant Display Names', 'System.String', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Shared Channel Tenant Display Names', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = '285b975f-c327-4a12-1f2b-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '485c5316-108c-4c3a-1f2c-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('485c5316-108c-4c3a-1f2c-08db8c335cbb', NULL, 'Reply Messages', 'System.Int32', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Reply Messages', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = '485c5316-108c-4c3a-1f2c-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f7d85d67-aefb-47fe-1f2d-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f7d85d67-aefb-47fe-1f2d-08db8c335cbb', NULL, 'Is Licensed', 'System.Boolean', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Is Licensed', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = 'f7d85d67-aefb-47fe-1f2d-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0dc7a8fe-7120-452d-1f2e-08db8c335cbb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0dc7a8fe-7120-452d-1f2e-08db8c335cbb', NULL, 'Report Period', 'System.Int32', '0', '1', '0', '18', '0', '26')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Period', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '18', [ApplicableFilters] = '0', [GraphSourceId] = '26' WHERE [Id] = '0dc7a8fe-7120-452d-1f2e-08db8c335cbb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0781f722-cf01-4b65-c4b8-08db8c53ba64')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0781f722-cf01-4b65-c4b8-08db8c53ba64', NULL, 'Report Refresh Date', 'System.DateTimeOffset', '0', '1', '0', '19', '0', '27')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Refresh Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '19', [ApplicableFilters] = '0', [GraphSourceId] = '27' WHERE [Id] = '0781f722-cf01-4b65-c4b8-08db8c53ba64'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '2d01a5ba-2e60-4b85-c4b9-08db8c53ba64')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('2d01a5ba-2e60-4b85-c4b9-08db8c53ba64', NULL, 'Team Id', 'System.String', '0', '1', '0', '19', '0', '27')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Team Id', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '19', [ApplicableFilters] = '0', [GraphSourceId] = '27' WHERE [Id] = '2d01a5ba-2e60-4b85-c4b9-08db8c53ba64'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'aa36ad08-9ecf-4f29-c4ba-08db8c53ba64')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('aa36ad08-9ecf-4f29-c4ba-08db8c53ba64', NULL, 'Team Name', 'System.String', '0', '1', '0', '19', '0', '27')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Team Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '19', [ApplicableFilters] = '0', [GraphSourceId] = '27' WHERE [Id] = 'aa36ad08-9ecf-4f29-c4ba-08db8c53ba64'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fc74e28f-73ac-4ba3-c4bb-08db8c53ba64')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fc74e28f-73ac-4ba3-c4bb-08db8c53ba64', NULL, 'Last Activity Date', 'System.DateTimeOffset', '0', '1', '0', '19', '0', '27')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Last Activity Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '19', [ApplicableFilters] = '0', [GraphSourceId] = '27' WHERE [Id] = 'fc74e28f-73ac-4ba3-c4bb-08db8c53ba64'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'bcf90699-da6b-4359-c4bc-08db8c53ba64')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('bcf90699-da6b-4359-c4bc-08db8c53ba64', NULL, 'Team Type', 'System.String', '0', '1', '0', '19', '0', '27')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Team Type', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '19', [ApplicableFilters] = '0', [GraphSourceId] = '27' WHERE [Id] = 'bcf90699-da6b-4359-c4bc-08db8c53ba64'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '742de53b-4915-4206-c4bd-08db8c53ba64')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('742de53b-4915-4206-c4bd-08db8c53ba64', NULL, 'Is Deleted', 'System.Boolean', '0', '1', '0', '19', '0', '27')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Is Deleted', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '19', [ApplicableFilters] = '0', [GraphSourceId] = '27' WHERE [Id] = '742de53b-4915-4206-c4bd-08db8c53ba64'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b6672fec-6d90-43b9-c4be-08db8c53ba64')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b6672fec-6d90-43b9-c4be-08db8c53ba64', NULL, 'Report Period', 'System.Int32', '0', '1', '0', '19', '0', '27')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Period', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '19', [ApplicableFilters] = '0', [GraphSourceId] = '27' WHERE [Id] = 'b6672fec-6d90-43b9-c4be-08db8c53ba64'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '277d39a7-6983-4905-c4bf-08db8c53ba64')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('277d39a7-6983-4905-c4bf-08db8c53ba64', NULL, 'Active Users', 'System.Int32', '0', '1', '0', '19', '0', '27')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Active Users', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '19', [ApplicableFilters] = '0', [GraphSourceId] = '27' WHERE [Id] = '277d39a7-6983-4905-c4bf-08db8c53ba64'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '30a81cb9-cefe-484e-c4c0-08db8c53ba64')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('30a81cb9-cefe-484e-c4c0-08db8c53ba64', NULL, 'Active Channels', 'System.Int32', '0', '1', '0', '19', '0', '27')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Active Channels', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '19', [ApplicableFilters] = '0', [GraphSourceId] = '27' WHERE [Id] = '30a81cb9-cefe-484e-c4c0-08db8c53ba64'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '50b663cf-8d52-4384-c4c1-08db8c53ba64')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('50b663cf-8d52-4384-c4c1-08db8c53ba64', NULL, 'Channel Messages', 'System.Int32', '0', '1', '0', '19', '0', '27')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Channel Messages', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '19', [ApplicableFilters] = '0', [GraphSourceId] = '27' WHERE [Id] = '50b663cf-8d52-4384-c4c1-08db8c53ba64'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '2f8aa94d-c572-400d-c4c2-08db8c53ba64')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('2f8aa94d-c572-400d-c4c2-08db8c53ba64', NULL, 'Reactions', 'System.Int32', '0', '1', '0', '19', '0', '27')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Reactions', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '19', [ApplicableFilters] = '0', [GraphSourceId] = '27' WHERE [Id] = '2f8aa94d-c572-400d-c4c2-08db8c53ba64'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9f3c8973-338d-45ea-c4c3-08db8c53ba64')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9f3c8973-338d-45ea-c4c3-08db8c53ba64', NULL, 'Meetings Organized', 'System.Int32', '0', '1', '0', '19', '0', '27')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Meetings Organized', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '19', [ApplicableFilters] = '0', [GraphSourceId] = '27' WHERE [Id] = '9f3c8973-338d-45ea-c4c3-08db8c53ba64'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9e1d4aaf-d0d8-41d2-c4c4-08db8c53ba64')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9e1d4aaf-d0d8-41d2-c4c4-08db8c53ba64', NULL, 'Post Messages', 'System.Int32', '0', '1', '0', '19', '0', '27')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Post Messages', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '19', [ApplicableFilters] = '0', [GraphSourceId] = '27' WHERE [Id] = '9e1d4aaf-d0d8-41d2-c4c4-08db8c53ba64'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '487ec990-afd1-42ea-c4c5-08db8c53ba64')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('487ec990-afd1-42ea-c4c5-08db8c53ba64', NULL, 'Reply Messages', 'System.Int32', '0', '1', '0', '19', '0', '27')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Reply Messages', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '19', [ApplicableFilters] = '0', [GraphSourceId] = '27' WHERE [Id] = '487ec990-afd1-42ea-c4c5-08db8c53ba64'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8b1418cd-4a24-4373-c4c6-08db8c53ba64')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8b1418cd-4a24-4373-c4c6-08db8c53ba64', NULL, 'Urgent Messages', 'System.Int32', '0', '1', '0', '19', '0', '27')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Urgent Messages', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '19', [ApplicableFilters] = '0', [GraphSourceId] = '27' WHERE [Id] = '8b1418cd-4a24-4373-c4c6-08db8c53ba64'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '73369882-6b5d-45b3-c4c7-08db8c53ba64')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('73369882-6b5d-45b3-c4c7-08db8c53ba64', NULL, 'Mentions', 'System.Int32', '0', '1', '0', '19', '0', '27')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Mentions', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '19', [ApplicableFilters] = '0', [GraphSourceId] = '27' WHERE [Id] = '73369882-6b5d-45b3-c4c7-08db8c53ba64'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '83051862-897d-4334-c4c8-08db8c53ba64')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('83051862-897d-4334-c4c8-08db8c53ba64', NULL, 'Guests', 'System.Int32', '0', '1', '0', '19', '0', '27')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Guests', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '19', [ApplicableFilters] = '0', [GraphSourceId] = '27' WHERE [Id] = '83051862-897d-4334-c4c8-08db8c53ba64'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b1bc3acf-d35c-449f-c4c9-08db8c53ba64')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b1bc3acf-d35c-449f-c4c9-08db8c53ba64', NULL, 'Active Shared Channels', 'System.Int32', '0', '1', '0', '19', '0', '27')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Active Shared Channels', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '19', [ApplicableFilters] = '0', [GraphSourceId] = '27' WHERE [Id] = 'b1bc3acf-d35c-449f-c4c9-08db8c53ba64'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9f533e2b-59d9-4bb2-c4ca-08db8c53ba64')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9f533e2b-59d9-4bb2-c4ca-08db8c53ba64', NULL, 'Active External Users', 'System.Int32', '0', '1', '0', '19', '0', '27')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Active External Users', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '19', [ApplicableFilters] = '0', [GraphSourceId] = '27' WHERE [Id] = '9f533e2b-59d9-4bb2-c4ca-08db8c53ba64'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e559d9a1-939e-4bea-e1dd-08db8ce28d3e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e559d9a1-939e-4bea-e1dd-08db8ce28d3e', NULL, 'Report Refresh Date', 'System.DateTimeOffset', '0', '1', '0', '20', '0', '28')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Refresh Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '20', [ApplicableFilters] = '0', [GraphSourceId] = '28' WHERE [Id] = 'e559d9a1-939e-4bea-e1dd-08db8ce28d3e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b8aa95c6-bda8-4254-e1de-08db8ce28d3e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b8aa95c6-bda8-4254-e1de-08db8ce28d3e', NULL, 'User Id', 'System.String', '0', '1', '0', '20', '0', '28')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'User Id', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '20', [ApplicableFilters] = '0', [GraphSourceId] = '28' WHERE [Id] = 'b8aa95c6-bda8-4254-e1de-08db8ce28d3e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'db941965-9e74-41f4-e1df-08db8ce28d3e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('db941965-9e74-41f4-e1df-08db8ce28d3e', NULL, 'User Principal Name', 'System.String', '0', '1', '0', '20', '0', '28')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'User Principal Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '20', [ApplicableFilters] = '0', [GraphSourceId] = '28' WHERE [Id] = 'db941965-9e74-41f4-e1df-08db8ce28d3e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '59cce7a0-11a2-4d53-e1e0-08db8ce28d3e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('59cce7a0-11a2-4d53-e1e0-08db8ce28d3e', NULL, 'Last Activity Date', 'System.DateTimeOffset', '0', '1', '0', '20', '0', '28')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Last Activity Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '20', [ApplicableFilters] = '0', [GraphSourceId] = '28' WHERE [Id] = '59cce7a0-11a2-4d53-e1e0-08db8ce28d3e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e05d8a05-b32d-41bb-e1e1-08db8ce28d3e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e05d8a05-b32d-41bb-e1e1-08db8ce28d3e', NULL, 'Is Deleted', 'System.Boolean', '0', '1', '0', '20', '0', '28')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Is Deleted', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '20', [ApplicableFilters] = '0', [GraphSourceId] = '28' WHERE [Id] = 'e05d8a05-b32d-41bb-e1e1-08db8ce28d3e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'dc7d79e5-2429-44e1-e1e2-08db8ce28d3e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('dc7d79e5-2429-44e1-e1e2-08db8ce28d3e', NULL, 'Deleted Date', 'System.DateTimeOffset', '0', '1', '0', '20', '0', '28')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Deleted Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '20', [ApplicableFilters] = '0', [GraphSourceId] = '28' WHERE [Id] = 'dc7d79e5-2429-44e1-e1e2-08db8ce28d3e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'ac0c554f-f92b-4feb-e1e3-08db8ce28d3e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('ac0c554f-f92b-4feb-e1e3-08db8ce28d3e', NULL, 'Used Web', 'System.Boolean', '0', '1', '0', '20', '0', '28')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Used Web', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '20', [ApplicableFilters] = '0', [GraphSourceId] = '28' WHERE [Id] = 'ac0c554f-f92b-4feb-e1e3-08db8ce28d3e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '65f4b1e0-89fa-49e4-e1e4-08db8ce28d3e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('65f4b1e0-89fa-49e4-e1e4-08db8ce28d3e', NULL, 'Used Windows Phone', 'System.Boolean', '0', '1', '0', '20', '0', '28')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Used Windows Phone', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '20', [ApplicableFilters] = '0', [GraphSourceId] = '28' WHERE [Id] = '65f4b1e0-89fa-49e4-e1e4-08db8ce28d3e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd30033e5-47c2-4f55-e1e5-08db8ce28d3e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d30033e5-47c2-4f55-e1e5-08db8ce28d3e', NULL, 'Used iOS', 'System.Boolean', '0', '1', '0', '20', '0', '28')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Used iOS', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '20', [ApplicableFilters] = '0', [GraphSourceId] = '28' WHERE [Id] = 'd30033e5-47c2-4f55-e1e5-08db8ce28d3e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fe23d327-9284-498f-e1e6-08db8ce28d3e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fe23d327-9284-498f-e1e6-08db8ce28d3e', NULL, 'Used Mac', 'System.Boolean', '0', '1', '0', '20', '0', '28')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Used Mac', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '20', [ApplicableFilters] = '0', [GraphSourceId] = '28' WHERE [Id] = 'fe23d327-9284-498f-e1e6-08db8ce28d3e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'dc731f18-f0df-46c1-e1e7-08db8ce28d3e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('dc731f18-f0df-46c1-e1e7-08db8ce28d3e', NULL, 'Used Android Phone', 'System.Boolean', '0', '1', '0', '20', '0', '28')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Used Android Phone', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '20', [ApplicableFilters] = '0', [GraphSourceId] = '28' WHERE [Id] = 'dc731f18-f0df-46c1-e1e7-08db8ce28d3e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c95dfd95-cd3e-43bc-e1e8-08db8ce28d3e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c95dfd95-cd3e-43bc-e1e8-08db8ce28d3e', NULL, 'Used Windows', 'System.Boolean', '0', '1', '0', '20', '0', '28')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Used Windows', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '20', [ApplicableFilters] = '0', [GraphSourceId] = '28' WHERE [Id] = 'c95dfd95-cd3e-43bc-e1e8-08db8ce28d3e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'aba1ca85-05cd-46f8-e1e9-08db8ce28d3e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('aba1ca85-05cd-46f8-e1e9-08db8ce28d3e', NULL, 'Used  Chrome OS', 'System.Boolean', '0', '1', '0', '20', '0', '28')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Used  Chrome OS', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '20', [ApplicableFilters] = '0', [GraphSourceId] = '28' WHERE [Id] = 'aba1ca85-05cd-46f8-e1e9-08db8ce28d3e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'bde3a4b3-f90f-4f85-e1ea-08db8ce28d3e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('bde3a4b3-f90f-4f85-e1ea-08db8ce28d3e', NULL, 'Used Linux', 'System.Boolean', '0', '1', '0', '20', '0', '28')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Used Linux', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '20', [ApplicableFilters] = '0', [GraphSourceId] = '28' WHERE [Id] = 'bde3a4b3-f90f-4f85-e1ea-08db8ce28d3e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3044ec47-3d55-4ec6-e1eb-08db8ce28d3e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3044ec47-3d55-4ec6-e1eb-08db8ce28d3e', NULL, 'Is Licensed', 'System.Boolean', '0', '1', '0', '20', '0', '28')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Is Licensed', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '20', [ApplicableFilters] = '0', [GraphSourceId] = '28' WHERE [Id] = '3044ec47-3d55-4ec6-e1eb-08db8ce28d3e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'faa7c968-9500-472d-e1ec-08db8ce28d3e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('faa7c968-9500-472d-e1ec-08db8ce28d3e', NULL, 'Report Period', 'System.Int32', '0', '1', '0', '20', '0', '28')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Period', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '20', [ApplicableFilters] = '0', [GraphSourceId] = '28' WHERE [Id] = 'faa7c968-9500-472d-e1ec-08db8ce28d3e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '7d7af0f5-682a-4ca5-8d81-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('7d7af0f5-682a-4ca5-8d81-08db8cfbca5f', NULL, 'Report Refresh Date', 'System.DateTimeOffset', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Refresh Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '7d7af0f5-682a-4ca5-8d81-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5cc1a422-6f0b-4dac-8d82-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5cc1a422-6f0b-4dac-8d82-08db8cfbca5f', NULL, 'User Principal Name', 'System.String', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'User Principal Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '5cc1a422-6f0b-4dac-8d82-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '90f58186-5bfc-4cfc-8d83-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('90f58186-5bfc-4cfc-8d83-08db8cfbca5f', NULL, 'Last Activation Date', 'System.DateTimeOffset', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Last Activation Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '90f58186-5bfc-4cfc-8d83-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '75e060b3-9bb1-4d87-8d84-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('75e060b3-9bb1-4d87-8d84-08db8cfbca5f', NULL, 'Last Activity Date', 'System.DateTimeOffset', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Last Activity Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '75e060b3-9bb1-4d87-8d84-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5365ffb1-fedb-4781-8d85-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5365ffb1-fedb-4781-8d85-08db8cfbca5f', NULL, 'Report Period', 'System.Int32', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Period', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '5365ffb1-fedb-4781-8d85-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd6a1a738-0bdd-41d8-8d86-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d6a1a738-0bdd-41d8-8d86-08db8cfbca5f', NULL, 'Windows', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Windows', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = 'd6a1a738-0bdd-41d8-8d86-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c28e9534-89aa-4487-8d87-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c28e9534-89aa-4487-8d87-08db8cfbca5f', NULL, 'Mac', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Mac', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = 'c28e9534-89aa-4487-8d87-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '129edbce-6342-484f-8d88-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('129edbce-6342-484f-8d88-08db8cfbca5f', NULL, 'Mobile', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Mobile', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '129edbce-6342-484f-8d88-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '74349a4c-7de5-4862-8d89-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('74349a4c-7de5-4862-8d89-08db8cfbca5f', NULL, 'Web', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Web', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '74349a4c-7de5-4862-8d89-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '613c6b14-606a-4d30-8d8a-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('613c6b14-606a-4d30-8d8a-08db8cfbca5f', NULL, 'Outlook', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Outlook', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '613c6b14-606a-4d30-8d8a-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f3feedf9-f156-4a93-8d8b-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f3feedf9-f156-4a93-8d8b-08db8cfbca5f', NULL, 'Word', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Word', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = 'f3feedf9-f156-4a93-8d8b-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd88cc570-d046-4d24-8d8c-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d88cc570-d046-4d24-8d8c-08db8cfbca5f', NULL, 'Excel', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Excel', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = 'd88cc570-d046-4d24-8d8c-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '2ec40eaa-c677-48ce-8d8d-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('2ec40eaa-c677-48ce-8d8d-08db8cfbca5f', NULL, 'PowerPoint', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'PowerPoint', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '2ec40eaa-c677-48ce-8d8d-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f7de12f4-7a11-4e3a-8d8e-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f7de12f4-7a11-4e3a-8d8e-08db8cfbca5f', NULL, 'OneNote', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'OneNote', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = 'f7de12f4-7a11-4e3a-8d8e-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd6ab0424-bf13-4bf4-8d8f-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d6ab0424-bf13-4bf4-8d8f-08db8cfbca5f', NULL, 'Teams', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Teams', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = 'd6ab0424-bf13-4bf4-8d8f-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c909b8da-e19c-427f-8d90-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c909b8da-e19c-427f-8d90-08db8cfbca5f', NULL, 'Outlook (Windows)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Outlook (Windows)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = 'c909b8da-e19c-427f-8d90-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd6f6a65f-643a-4cd7-8d91-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d6f6a65f-643a-4cd7-8d91-08db8cfbca5f', NULL, 'Word (Windows)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Word (Windows)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = 'd6f6a65f-643a-4cd7-8d91-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6cd7bbd9-773f-439b-8d92-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6cd7bbd9-773f-439b-8d92-08db8cfbca5f', NULL, 'Excel (Windows)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Excel (Windows)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '6cd7bbd9-773f-439b-8d92-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '27993d71-c203-47fa-8d93-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('27993d71-c203-47fa-8d93-08db8cfbca5f', NULL, 'PowerPoint (Windows)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'PowerPoint (Windows)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '27993d71-c203-47fa-8d93-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '84bc5949-595f-45cf-8d94-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('84bc5949-595f-45cf-8d94-08db8cfbca5f', NULL, 'OneNote (Windows)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'OneNote (Windows)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '84bc5949-595f-45cf-8d94-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '469d1335-34b8-4919-8d95-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('469d1335-34b8-4919-8d95-08db8cfbca5f', NULL, 'Teams (Windows)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Teams (Windows)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '469d1335-34b8-4919-8d95-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '62a19cb4-93c0-428a-8d96-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('62a19cb4-93c0-428a-8d96-08db8cfbca5f', NULL, 'Outlook (Mac)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Outlook (Mac)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '62a19cb4-93c0-428a-8d96-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd4b5553b-8b75-4d88-8d97-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d4b5553b-8b75-4d88-8d97-08db8cfbca5f', NULL, 'Word (Mac)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Word (Mac)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = 'd4b5553b-8b75-4d88-8d97-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '57fa8d1e-62d7-40bc-8d98-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('57fa8d1e-62d7-40bc-8d98-08db8cfbca5f', NULL, 'Excel (Mac)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Excel (Mac)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '57fa8d1e-62d7-40bc-8d98-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6b2a8232-8633-4bd4-8d99-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6b2a8232-8633-4bd4-8d99-08db8cfbca5f', NULL, 'PowerPoint (Mac)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'PowerPoint (Mac)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '6b2a8232-8633-4bd4-8d99-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0042837f-abbb-4c82-8d9a-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0042837f-abbb-4c82-8d9a-08db8cfbca5f', NULL, 'OneNote (Mac)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'OneNote (Mac)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '0042837f-abbb-4c82-8d9a-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9189743e-972a-429a-8d9b-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9189743e-972a-429a-8d9b-08db8cfbca5f', NULL, 'Teams (Mac)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Teams (Mac)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '9189743e-972a-429a-8d9b-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6eb6261e-adb0-476b-8d9c-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6eb6261e-adb0-476b-8d9c-08db8cfbca5f', NULL, 'Outlook (Mobile)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Outlook (Mobile)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '6eb6261e-adb0-476b-8d9c-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1a0686e6-bbdb-471c-8d9d-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1a0686e6-bbdb-471c-8d9d-08db8cfbca5f', NULL, 'Word (Mobile)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Word (Mobile)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '1a0686e6-bbdb-471c-8d9d-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd3908d18-577f-4090-8d9e-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d3908d18-577f-4090-8d9e-08db8cfbca5f', NULL, 'Excel (Mobile)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Excel (Mobile)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = 'd3908d18-577f-4090-8d9e-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6edd98f6-984a-42dd-8d9f-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6edd98f6-984a-42dd-8d9f-08db8cfbca5f', NULL, 'PowerPoint (Mobile)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'PowerPoint (Mobile)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '6edd98f6-984a-42dd-8d9f-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd851e31e-5de0-4214-8da0-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d851e31e-5de0-4214-8da0-08db8cfbca5f', NULL, 'OneNote (Mobile)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'OneNote (Mobile)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = 'd851e31e-5de0-4214-8da0-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9e5cf353-49ee-419b-8da1-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9e5cf353-49ee-419b-8da1-08db8cfbca5f', NULL, 'Teams (Mobile)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Teams (Mobile)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '9e5cf353-49ee-419b-8da1-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '68a4d4cc-915c-4d1a-8da2-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('68a4d4cc-915c-4d1a-8da2-08db8cfbca5f', NULL, 'Outlook (Web)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Outlook (Web)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '68a4d4cc-915c-4d1a-8da2-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'dab243b7-8491-40e0-8da3-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('dab243b7-8491-40e0-8da3-08db8cfbca5f', NULL, 'Word (Web)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Word (Web)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = 'dab243b7-8491-40e0-8da3-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8d2e6886-0601-421d-8da4-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8d2e6886-0601-421d-8da4-08db8cfbca5f', NULL, 'Excel (Web)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Excel (Web)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '8d2e6886-0601-421d-8da4-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3f2bcb50-3456-41f3-8da5-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3f2bcb50-3456-41f3-8da5-08db8cfbca5f', NULL, 'PowerPoint (Web)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'PowerPoint (Web)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = '3f2bcb50-3456-41f3-8da5-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e2fd3594-e9a7-41c7-8da6-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e2fd3594-e9a7-41c7-8da6-08db8cfbca5f', NULL, 'OneNote (Web)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'OneNote (Web)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = 'e2fd3594-e9a7-41c7-8da6-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b9370ec3-b925-4c78-8da7-08db8cfbca5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b9370ec3-b925-4c78-8da7-08db8cfbca5f', NULL, 'Teams (Web)', 'System.Boolean', '0', '1', '0', '21', '0', '29')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Teams (Web)', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '21', [ApplicableFilters] = '0', [GraphSourceId] = '29' WHERE [Id] = 'b9370ec3-b925-4c78-8da7-08db8cfbca5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '896d3d30-eda3-4dea-79c2-08db8de1ad7d')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('896d3d30-eda3-4dea-79c2-08db8de1ad7d', NULL, 'Report Refresh Date', 'System.DateTimeOffset', '0', '1', '0', '22', '0', '30')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Refresh Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '22', [ApplicableFilters] = '0', [GraphSourceId] = '30' WHERE [Id] = '896d3d30-eda3-4dea-79c2-08db8de1ad7d'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1fe1d0b1-ba4b-4009-79c3-08db8de1ad7d')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1fe1d0b1-ba4b-4009-79c3-08db8de1ad7d', NULL, 'User Principal Name', 'System.String', '0', '1', '0', '22', '0', '30')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'User Principal Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '22', [ApplicableFilters] = '0', [GraphSourceId] = '30' WHERE [Id] = '1fe1d0b1-ba4b-4009-79c3-08db8de1ad7d'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '75c3b247-0600-457b-79c4-08db8de1ad7d')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('75c3b247-0600-457b-79c4-08db8de1ad7d', NULL, 'Display Name', 'System.String', '0', '1', '0', '22', '0', '30')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Display Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '22', [ApplicableFilters] = '0', [GraphSourceId] = '30' WHERE [Id] = '75c3b247-0600-457b-79c4-08db8de1ad7d'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b4da232d-19aa-4cec-79c5-08db8de1ad7d')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b4da232d-19aa-4cec-79c5-08db8de1ad7d', NULL, 'Product Type', 'System.String', '0', '1', '0', '22', '0', '30')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Product Type', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '22', [ApplicableFilters] = '0', [GraphSourceId] = '30' WHERE [Id] = 'b4da232d-19aa-4cec-79c5-08db8de1ad7d'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9b5dff39-628c-48ac-79c6-08db8de1ad7d')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9b5dff39-628c-48ac-79c6-08db8de1ad7d', NULL, 'Last Activated Date', 'System.DateTimeOffset', '0', '1', '0', '22', '0', '30')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Last Activated Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '22', [ApplicableFilters] = '0', [GraphSourceId] = '30' WHERE [Id] = '9b5dff39-628c-48ac-79c6-08db8de1ad7d'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b060e23c-87af-48e0-79c7-08db8de1ad7d')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b060e23c-87af-48e0-79c7-08db8de1ad7d', NULL, 'Windows', 'System.Int32', '0', '1', '0', '22', '0', '30')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Windows', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '22', [ApplicableFilters] = '0', [GraphSourceId] = '30' WHERE [Id] = 'b060e23c-87af-48e0-79c7-08db8de1ad7d'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '836d32be-b037-453e-79c8-08db8de1ad7d')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('836d32be-b037-453e-79c8-08db8de1ad7d', NULL, 'Mac', 'System.Int32', '0', '1', '0', '22', '0', '30')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Mac', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '22', [ApplicableFilters] = '0', [GraphSourceId] = '30' WHERE [Id] = '836d32be-b037-453e-79c8-08db8de1ad7d'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9af04c51-787a-450e-79c9-08db8de1ad7d')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9af04c51-787a-450e-79c9-08db8de1ad7d', NULL, 'Windows 10 Mobile', 'System.Int32', '0', '1', '0', '22', '0', '30')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Windows 10 Mobile', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '22', [ApplicableFilters] = '0', [GraphSourceId] = '30' WHERE [Id] = '9af04c51-787a-450e-79c9-08db8de1ad7d'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '24aab67d-1aba-4544-79ca-08db8de1ad7d')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('24aab67d-1aba-4544-79ca-08db8de1ad7d', NULL, 'iOS', 'System.Int32', '0', '1', '0', '22', '0', '30')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'iOS', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '22', [ApplicableFilters] = '0', [GraphSourceId] = '30' WHERE [Id] = '24aab67d-1aba-4544-79ca-08db8de1ad7d'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f6eabe67-e5ba-4a71-79cb-08db8de1ad7d')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f6eabe67-e5ba-4a71-79cb-08db8de1ad7d', NULL, 'Android', 'System.Int32', '0', '1', '0', '22', '0', '30')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Android', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '22', [ApplicableFilters] = '0', [GraphSourceId] = '30' WHERE [Id] = 'f6eabe67-e5ba-4a71-79cb-08db8de1ad7d'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b75fb373-94fc-4994-79cc-08db8de1ad7d')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b75fb373-94fc-4994-79cc-08db8de1ad7d', NULL, 'Activated On Shared Computer', 'System.Boolean', '0', '1', '0', '22', '0', '30')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Activated On Shared Computer', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '22', [ApplicableFilters] = '0', [GraphSourceId] = '30' WHERE [Id] = 'b75fb373-94fc-4994-79cc-08db8de1ad7d'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'ed923366-08a6-4e27-74a0-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('ed923366-08a6-4e27-74a0-08db8e73ac36', NULL, 'Report Refresh Date', 'System.DateTimeOffset', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Refresh Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = 'ed923366-08a6-4e27-74a0-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '113ea131-2ddc-4c40-74a1-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('113ea131-2ddc-4c40-74a1-08db8e73ac36', NULL, 'User Principal Name', 'System.String', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'User Principal Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = '113ea131-2ddc-4c40-74a1-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '98aa3e97-d20c-4072-74a2-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('98aa3e97-d20c-4072-74a2-08db8e73ac36', NULL, 'Display Name', 'System.String', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Display Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = '98aa3e97-d20c-4072-74a2-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5711341a-3b5a-4a3e-74a3-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5711341a-3b5a-4a3e-74a3-08db8e73ac36', NULL, 'Is Deleted', 'System.Boolean', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Is Deleted', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = '5711341a-3b5a-4a3e-74a3-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fef5ec21-9dd1-4c6b-74a4-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fef5ec21-9dd1-4c6b-74a4-08db8e73ac36', NULL, 'Deleted Date', 'System.DateTimeOffset', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Deleted Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = 'fef5ec21-9dd1-4c6b-74a4-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1abe47d0-dc65-4909-74a5-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1abe47d0-dc65-4909-74a5-08db8e73ac36', NULL, 'Has Exchange License', 'System.Boolean', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Has Exchange License', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = '1abe47d0-dc65-4909-74a5-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '2f2c38cc-7cdc-4358-74a6-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('2f2c38cc-7cdc-4358-74a6-08db8e73ac36', NULL, 'Has OneDrive License', 'System.Boolean', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Has OneDrive License', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = '2f2c38cc-7cdc-4358-74a6-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '974e3d64-4299-4106-74a7-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('974e3d64-4299-4106-74a7-08db8e73ac36', NULL, 'Has SharePoint License', 'System.Boolean', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Has SharePoint License', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = '974e3d64-4299-4106-74a7-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5c141966-2fe8-4104-74a8-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5c141966-2fe8-4104-74a8-08db8e73ac36', NULL, 'Has Skype For Business License', 'System.Boolean', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Has Skype For Business License', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = '5c141966-2fe8-4104-74a8-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '529b5908-935f-4e0b-74a9-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('529b5908-935f-4e0b-74a9-08db8e73ac36', NULL, 'Has Yammer License', 'System.Boolean', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Has Yammer License', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = '529b5908-935f-4e0b-74a9-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '94bfb761-2e7b-4f66-74aa-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('94bfb761-2e7b-4f66-74aa-08db8e73ac36', NULL, 'Has Teams License', 'System.Boolean', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Has Teams License', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = '94bfb761-2e7b-4f66-74aa-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'dab62e03-f088-4bed-74ab-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('dab62e03-f088-4bed-74ab-08db8e73ac36', NULL, 'Exchange Last Activity Date', 'System.DateTimeOffset', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Exchange Last Activity Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = 'dab62e03-f088-4bed-74ab-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4f8862d9-a295-43f8-74ac-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4f8862d9-a295-43f8-74ac-08db8e73ac36', NULL, 'OneDrive Last Activity Date', 'System.DateTimeOffset', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'OneDrive Last Activity Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = '4f8862d9-a295-43f8-74ac-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd0a1577a-1cce-4c34-74ad-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d0a1577a-1cce-4c34-74ad-08db8e73ac36', NULL, 'SharePoint Last Activity Date', 'System.DateTimeOffset', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'SharePoint Last Activity Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = 'd0a1577a-1cce-4c34-74ad-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5fbcd434-8dbb-4623-74ae-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5fbcd434-8dbb-4623-74ae-08db8e73ac36', NULL, 'Skype For Business Last Activity Date', 'System.DateTimeOffset', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Skype For Business Last Activity Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = '5fbcd434-8dbb-4623-74ae-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '41401bba-893a-4ab0-74af-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('41401bba-893a-4ab0-74af-08db8e73ac36', NULL, 'Yammer Last Activity Date', 'System.DateTimeOffset', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Yammer Last Activity Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = '41401bba-893a-4ab0-74af-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1ac611a0-fab8-4188-74b0-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1ac611a0-fab8-4188-74b0-08db8e73ac36', NULL, 'Teams Last Activity Date', 'System.DateTimeOffset', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Teams Last Activity Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = '1ac611a0-fab8-4188-74b0-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '67dc9ca4-d966-4deb-74b1-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('67dc9ca4-d966-4deb-74b1-08db8e73ac36', NULL, 'Exchange License Assign Date', 'System.DateTimeOffset', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Exchange License Assign Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = '67dc9ca4-d966-4deb-74b1-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '7096fd1f-dcbd-45cd-74b2-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('7096fd1f-dcbd-45cd-74b2-08db8e73ac36', NULL, 'OneDrive License Assign Date', 'System.DateTimeOffset', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'OneDrive License Assign Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = '7096fd1f-dcbd-45cd-74b2-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '665c3550-2376-4d49-74b3-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('665c3550-2376-4d49-74b3-08db8e73ac36', NULL, 'SharePoint License Assign Date', 'System.DateTimeOffset', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'SharePoint License Assign Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = '665c3550-2376-4d49-74b3-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '729e6f86-852a-462b-74b4-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('729e6f86-852a-462b-74b4-08db8e73ac36', NULL, 'Skype For Business License Assign Date', 'System.DateTimeOffset', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Skype For Business License Assign Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = '729e6f86-852a-462b-74b4-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b32c4e41-4767-4877-74b5-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b32c4e41-4767-4877-74b5-08db8e73ac36', NULL, 'Yammer License Assign Date', 'System.DateTimeOffset', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Yammer License Assign Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = 'b32c4e41-4767-4877-74b5-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6948ce67-f324-42ed-74b6-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6948ce67-f324-42ed-74b6-08db8e73ac36', NULL, 'Teams License Assign Date', 'System.DateTimeOffset', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Teams License Assign Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = '6948ce67-f324-42ed-74b6-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fc08b025-de33-4401-74b7-08db8e73ac36')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fc08b025-de33-4401-74b7-08db8e73ac36', NULL, 'Assigned Products', 'System.String', '0', '1', '0', '23', '0', '31')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Assigned Products', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '23', [ApplicableFilters] = '0', [GraphSourceId] = '31' WHERE [Id] = 'fc08b025-de33-4401-74b7-08db8e73ac36'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'bedcdc11-939b-4bdc-57e4-08db8e7f6bc6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('bedcdc11-939b-4bdc-57e4-08db8e7f6bc6', NULL, 'Report Refresh Date', 'System.DateTimeOffset', '0', '1', '0', '24', '0', '32')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Refresh Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '24', [ApplicableFilters] = '0', [GraphSourceId] = '32' WHERE [Id] = 'bedcdc11-939b-4bdc-57e4-08db8e7f6bc6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a8e6d698-77a8-4d95-57e5-08db8e7f6bc6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a8e6d698-77a8-4d95-57e5-08db8e7f6bc6', NULL, 'Group Display Name', 'System.String', '0', '1', '0', '24', '0', '32')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Group Display Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '24', [ApplicableFilters] = '0', [GraphSourceId] = '32' WHERE [Id] = 'a8e6d698-77a8-4d95-57e5-08db8e7f6bc6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1c1bf10b-2840-4e5a-57e6-08db8e7f6bc6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1c1bf10b-2840-4e5a-57e6-08db8e7f6bc6', NULL, 'Is Deleted', 'System.Boolean', '0', '1', '0', '24', '0', '32')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Is Deleted', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '24', [ApplicableFilters] = '0', [GraphSourceId] = '32' WHERE [Id] = '1c1bf10b-2840-4e5a-57e6-08db8e7f6bc6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1e99cc9f-54df-4354-57e7-08db8e7f6bc6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1e99cc9f-54df-4354-57e7-08db8e7f6bc6', NULL, 'Owner Principal Name', 'System.String', '0', '1', '0', '24', '0', '32')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Owner Principal Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '24', [ApplicableFilters] = '0', [GraphSourceId] = '32' WHERE [Id] = '1e99cc9f-54df-4354-57e7-08db8e7f6bc6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8a19b7c5-8533-4ac6-57e8-08db8e7f6bc6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8a19b7c5-8533-4ac6-57e8-08db8e7f6bc6', NULL, 'Last Activity Date', 'System.DateTimeOffset', '0', '1', '0', '24', '0', '32')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Last Activity Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '24', [ApplicableFilters] = '0', [GraphSourceId] = '32' WHERE [Id] = '8a19b7c5-8533-4ac6-57e8-08db8e7f6bc6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '11c8b7c1-99f2-486e-57e9-08db8e7f6bc6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('11c8b7c1-99f2-486e-57e9-08db8e7f6bc6', NULL, 'Group Type', 'System.String', '0', '1', '0', '24', '0', '32')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Group Type', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '24', [ApplicableFilters] = '0', [GraphSourceId] = '32' WHERE [Id] = '11c8b7c1-99f2-486e-57e9-08db8e7f6bc6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3e8a7790-e1c4-49de-57ea-08db8e7f6bc6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3e8a7790-e1c4-49de-57ea-08db8e7f6bc6', NULL, 'Member Count', 'System.Int32', '0', '1', '0', '24', '0', '32')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Member Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '24', [ApplicableFilters] = '0', [GraphSourceId] = '32' WHERE [Id] = '3e8a7790-e1c4-49de-57ea-08db8e7f6bc6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '16894c8c-c974-4269-57eb-08db8e7f6bc6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('16894c8c-c974-4269-57eb-08db8e7f6bc6', NULL, 'External Member Count', 'System.Int32', '0', '1', '0', '24', '0', '32')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'External Member Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '24', [ApplicableFilters] = '0', [GraphSourceId] = '32' WHERE [Id] = '16894c8c-c974-4269-57eb-08db8e7f6bc6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '036dadd5-2732-4d26-57ec-08db8e7f6bc6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('036dadd5-2732-4d26-57ec-08db8e7f6bc6', NULL, 'Exchange Received Email Count', 'System.Int32', '0', '1', '0', '24', '0', '32')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Exchange Received Email Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '24', [ApplicableFilters] = '0', [GraphSourceId] = '32' WHERE [Id] = '036dadd5-2732-4d26-57ec-08db8e7f6bc6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '356cc560-4e5c-4fe2-57ed-08db8e7f6bc6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('356cc560-4e5c-4fe2-57ed-08db8e7f6bc6', NULL, 'SharePoint Active File Count', 'System.Int32', '0', '1', '0', '24', '0', '32')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'SharePoint Active File Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '24', [ApplicableFilters] = '0', [GraphSourceId] = '32' WHERE [Id] = '356cc560-4e5c-4fe2-57ed-08db8e7f6bc6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3383c85f-889e-47d8-57ee-08db8e7f6bc6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3383c85f-889e-47d8-57ee-08db8e7f6bc6', NULL, 'Yammer Posted Message Count', 'System.Int32', '0', '1', '0', '24', '0', '32')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Yammer Posted Message Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '24', [ApplicableFilters] = '0', [GraphSourceId] = '32' WHERE [Id] = '3383c85f-889e-47d8-57ee-08db8e7f6bc6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0d781db1-59ac-4f69-57ef-08db8e7f6bc6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0d781db1-59ac-4f69-57ef-08db8e7f6bc6', NULL, 'Yammer Read Message Count', 'System.Int32', '0', '1', '0', '24', '0', '32')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Yammer Read Message Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '24', [ApplicableFilters] = '0', [GraphSourceId] = '32' WHERE [Id] = '0d781db1-59ac-4f69-57ef-08db8e7f6bc6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '03aada77-f3e5-4b0e-57f0-08db8e7f6bc6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('03aada77-f3e5-4b0e-57f0-08db8e7f6bc6', NULL, 'Yammer Liked Message Count', 'System.Int32', '0', '1', '0', '24', '0', '32')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Yammer Liked Message Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '24', [ApplicableFilters] = '0', [GraphSourceId] = '32' WHERE [Id] = '03aada77-f3e5-4b0e-57f0-08db8e7f6bc6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '2ef1a85e-f6b9-46f3-57f1-08db8e7f6bc6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('2ef1a85e-f6b9-46f3-57f1-08db8e7f6bc6', NULL, 'Exchange Mailbox Total Item Count', 'System.Int32', '0', '1', '0', '24', '0', '32')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Exchange Mailbox Total Item Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '24', [ApplicableFilters] = '0', [GraphSourceId] = '32' WHERE [Id] = '2ef1a85e-f6b9-46f3-57f1-08db8e7f6bc6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '29d9067d-832c-4c42-57f2-08db8e7f6bc6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('29d9067d-832c-4c42-57f2-08db8e7f6bc6', NULL, 'Exchange Mailbox Storage Used (Byte)', 'System.Int64', '0', '1', '0', '24', '0', '32')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Exchange Mailbox Storage Used (Byte)', [DataType] = 'System.Int64', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '24', [ApplicableFilters] = '0', [GraphSourceId] = '32' WHERE [Id] = '29d9067d-832c-4c42-57f2-08db8e7f6bc6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6ce72e04-b42c-4d42-57f3-08db8e7f6bc6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6ce72e04-b42c-4d42-57f3-08db8e7f6bc6', NULL, 'SharePoint Total File Count', 'System.Int32', '0', '1', '0', '24', '0', '32')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'SharePoint Total File Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '24', [ApplicableFilters] = '0', [GraphSourceId] = '32' WHERE [Id] = '6ce72e04-b42c-4d42-57f3-08db8e7f6bc6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8364248a-111a-4a54-57f4-08db8e7f6bc6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8364248a-111a-4a54-57f4-08db8e7f6bc6', NULL, 'SharePoint Site Storage Used (Byte)', 'System.Int64', '0', '1', '0', '24', '0', '32')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'SharePoint Site Storage Used (Byte)', [DataType] = 'System.Int64', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '24', [ApplicableFilters] = '0', [GraphSourceId] = '32' WHERE [Id] = '8364248a-111a-4a54-57f4-08db8e7f6bc6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8b7f7936-9a00-41fa-57f5-08db8e7f6bc6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8b7f7936-9a00-41fa-57f5-08db8e7f6bc6', NULL, 'Group Id', 'System.String', '0', '1', '0', '24', '0', '32')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Group Id', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '24', [ApplicableFilters] = '0', [GraphSourceId] = '32' WHERE [Id] = '8b7f7936-9a00-41fa-57f5-08db8e7f6bc6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6bb9fa26-e325-46bd-57f6-08db8e7f6bc6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6bb9fa26-e325-46bd-57f6-08db8e7f6bc6', NULL, 'Report Period', 'System.Int32', '0', '1', '0', '24', '0', '32')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Period', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '24', [ApplicableFilters] = '0', [GraphSourceId] = '32' WHERE [Id] = '6bb9fa26-e325-46bd-57f6-08db8e7f6bc6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4b6b0a30-4489-49f7-848c-08db8e9db87a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4b6b0a30-4489-49f7-848c-08db8e9db87a', NULL, 'Report Refresh Date', 'System.DateTimeOffset', '0', '1', '0', '25', '0', '33')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Refresh Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '25', [ApplicableFilters] = '0', [GraphSourceId] = '33' WHERE [Id] = '4b6b0a30-4489-49f7-848c-08db8e9db87a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fce9badb-6838-436e-848d-08db8e9db87a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fce9badb-6838-436e-848d-08db8e9db87a', NULL, 'User Principal Name', 'System.String', '0', '1', '0', '25', '0', '33')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'User Principal Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '25', [ApplicableFilters] = '0', [GraphSourceId] = '33' WHERE [Id] = 'fce9badb-6838-436e-848d-08db8e9db87a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3a6cd00d-07cd-425d-848e-08db8e9db87a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3a6cd00d-07cd-425d-848e-08db8e9db87a', NULL, 'Is Deleted', 'System.Boolean', '0', '1', '0', '25', '0', '33')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Is Deleted', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '25', [ApplicableFilters] = '0', [GraphSourceId] = '33' WHERE [Id] = '3a6cd00d-07cd-425d-848e-08db8e9db87a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e8a3806e-2a6c-4c70-848f-08db8e9db87a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e8a3806e-2a6c-4c70-848f-08db8e9db87a', NULL, 'Deleted Date', 'System.DateTimeOffset', '0', '1', '0', '25', '0', '33')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Deleted Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '25', [ApplicableFilters] = '0', [GraphSourceId] = '33' WHERE [Id] = 'e8a3806e-2a6c-4c70-848f-08db8e9db87a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e77ff74d-6c07-46ca-8490-08db8e9db87a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e77ff74d-6c07-46ca-8490-08db8e9db87a', NULL, 'Last Activity Date', 'System.DateTimeOffset', '0', '1', '0', '25', '0', '33')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Last Activity Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '25', [ApplicableFilters] = '0', [GraphSourceId] = '33' WHERE [Id] = 'e77ff74d-6c07-46ca-8490-08db8e9db87a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd79619d8-26ba-4589-8491-08db8e9db87a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d79619d8-26ba-4589-8491-08db8e9db87a', NULL, 'Viewed Or Edited File Count', 'System.Int32', '0', '1', '0', '25', '0', '33')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Viewed Or Edited File Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '25', [ApplicableFilters] = '0', [GraphSourceId] = '33' WHERE [Id] = 'd79619d8-26ba-4589-8491-08db8e9db87a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9845f90e-172f-48e5-8492-08db8e9db87a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9845f90e-172f-48e5-8492-08db8e9db87a', NULL, 'Synced File Count', 'System.Int32', '0', '1', '0', '25', '0', '33')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Synced File Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '25', [ApplicableFilters] = '0', [GraphSourceId] = '33' WHERE [Id] = '9845f90e-172f-48e5-8492-08db8e9db87a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '68870cec-f207-4333-8493-08db8e9db87a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('68870cec-f207-4333-8493-08db8e9db87a', NULL, 'Shared Internally File Count', 'System.Int32', '0', '1', '0', '25', '0', '33')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Shared Internally File Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '25', [ApplicableFilters] = '0', [GraphSourceId] = '33' WHERE [Id] = '68870cec-f207-4333-8493-08db8e9db87a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '18dce053-b8a0-4d7b-8494-08db8e9db87a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('18dce053-b8a0-4d7b-8494-08db8e9db87a', NULL, 'Shared Externally File Count', 'System.Int32', '0', '1', '0', '25', '0', '33')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Shared Externally File Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '25', [ApplicableFilters] = '0', [GraphSourceId] = '33' WHERE [Id] = '18dce053-b8a0-4d7b-8494-08db8e9db87a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b0c7256b-05ca-4ef5-8495-08db8e9db87a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b0c7256b-05ca-4ef5-8495-08db8e9db87a', NULL, 'Visited Page Count', 'System.Int32', '0', '1', '0', '25', '0', '33')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Visited Page Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '25', [ApplicableFilters] = '0', [GraphSourceId] = '33' WHERE [Id] = 'b0c7256b-05ca-4ef5-8495-08db8e9db87a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a5e9edd1-6ea6-4fe7-8496-08db8e9db87a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a5e9edd1-6ea6-4fe7-8496-08db8e9db87a', NULL, 'Assigned Products', 'System.String', '0', '1', '0', '25', '0', '33')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Assigned Products', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '25', [ApplicableFilters] = '0', [GraphSourceId] = '33' WHERE [Id] = 'a5e9edd1-6ea6-4fe7-8496-08db8e9db87a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f9cd7afd-41b0-429c-8497-08db8e9db87a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f9cd7afd-41b0-429c-8497-08db8e9db87a', NULL, 'Report Period', 'System.Int32', '0', '1', '0', '25', '0', '33')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Period', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '25', [ApplicableFilters] = '0', [GraphSourceId] = '33' WHERE [Id] = 'f9cd7afd-41b0-429c-8497-08db8e9db87a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f218fa96-b754-4652-1b01-08db8eb5c6c7')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f218fa96-b754-4652-1b01-08db8eb5c6c7', NULL, 'Report Refresh Date', 'System.DateTimeOffset', '0', '1', '0', '26', '0', '34')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Refresh Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '26', [ApplicableFilters] = '0', [GraphSourceId] = '34' WHERE [Id] = 'f218fa96-b754-4652-1b01-08db8eb5c6c7'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4a5c8463-e1d4-4091-1b02-08db8eb5c6c7')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4a5c8463-e1d4-4091-1b02-08db8eb5c6c7', NULL, 'Site Id', 'System.String', '0', '1', '0', '26', '0', '34')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Site Id', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '26', [ApplicableFilters] = '0', [GraphSourceId] = '34' WHERE [Id] = '4a5c8463-e1d4-4091-1b02-08db8eb5c6c7'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '42df68b9-9485-4703-1b03-08db8eb5c6c7')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('42df68b9-9485-4703-1b03-08db8eb5c6c7', NULL, 'Site URL', 'System.String', '0', '1', '0', '26', '0', '34')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Site URL', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '26', [ApplicableFilters] = '0', [GraphSourceId] = '34' WHERE [Id] = '42df68b9-9485-4703-1b03-08db8eb5c6c7'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a4e489eb-00d5-4324-1b04-08db8eb5c6c7')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a4e489eb-00d5-4324-1b04-08db8eb5c6c7', NULL, 'Owner Display Name', 'System.String', '0', '1', '0', '26', '0', '34')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Owner Display Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '26', [ApplicableFilters] = '0', [GraphSourceId] = '34' WHERE [Id] = 'a4e489eb-00d5-4324-1b04-08db8eb5c6c7'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c560062c-7924-42d8-1b05-08db8eb5c6c7')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c560062c-7924-42d8-1b05-08db8eb5c6c7', NULL, 'Is Deleted', 'System.Boolean', '0', '1', '0', '26', '0', '34')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Is Deleted', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '26', [ApplicableFilters] = '0', [GraphSourceId] = '34' WHERE [Id] = 'c560062c-7924-42d8-1b05-08db8eb5c6c7'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '954c4eea-5b80-4fb5-1b06-08db8eb5c6c7')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('954c4eea-5b80-4fb5-1b06-08db8eb5c6c7', NULL, 'Last Activity Date', 'System.DateTimeOffset', '0', '1', '0', '26', '0', '34')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Last Activity Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '26', [ApplicableFilters] = '0', [GraphSourceId] = '34' WHERE [Id] = '954c4eea-5b80-4fb5-1b06-08db8eb5c6c7'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4c4b6672-1371-4a23-1b07-08db8eb5c6c7')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4c4b6672-1371-4a23-1b07-08db8eb5c6c7', NULL, 'File Count', 'System.Int32', '0', '1', '0', '26', '0', '34')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'File Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '26', [ApplicableFilters] = '0', [GraphSourceId] = '34' WHERE [Id] = '4c4b6672-1371-4a23-1b07-08db8eb5c6c7'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b3ce1b2b-6df3-48f8-1b08-08db8eb5c6c7')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b3ce1b2b-6df3-48f8-1b08-08db8eb5c6c7', NULL, 'Active File Count', 'System.Int32', '0', '1', '0', '26', '0', '34')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Active File Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '26', [ApplicableFilters] = '0', [GraphSourceId] = '34' WHERE [Id] = 'b3ce1b2b-6df3-48f8-1b08-08db8eb5c6c7'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '94f40fee-39a8-4da8-1b09-08db8eb5c6c7')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('94f40fee-39a8-4da8-1b09-08db8eb5c6c7', NULL, 'Page View Count', 'System.Int32', '0', '1', '0', '26', '0', '34')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Page View Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '26', [ApplicableFilters] = '0', [GraphSourceId] = '34' WHERE [Id] = '94f40fee-39a8-4da8-1b09-08db8eb5c6c7'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '2bebbd95-9082-4963-1b0a-08db8eb5c6c7')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('2bebbd95-9082-4963-1b0a-08db8eb5c6c7', NULL, 'Visited Page Count', 'System.Int32', '0', '1', '0', '26', '0', '34')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Visited Page Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '26', [ApplicableFilters] = '0', [GraphSourceId] = '34' WHERE [Id] = '2bebbd95-9082-4963-1b0a-08db8eb5c6c7'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'faed0de1-1dcb-4c70-1b0b-08db8eb5c6c7')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('faed0de1-1dcb-4c70-1b0b-08db8eb5c6c7', NULL, 'Storage Used (Byte)', 'System.Int64', '0', '1', '0', '26', '0', '34')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Storage Used (Byte)', [DataType] = 'System.Int64', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '26', [ApplicableFilters] = '0', [GraphSourceId] = '34' WHERE [Id] = 'faed0de1-1dcb-4c70-1b0b-08db8eb5c6c7'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fa57fbc8-392b-445b-1b0c-08db8eb5c6c7')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fa57fbc8-392b-445b-1b0c-08db8eb5c6c7', NULL, 'Storage Allocated (Byte)', 'System.Int64', '0', '1', '0', '26', '0', '34')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Storage Allocated (Byte)', [DataType] = 'System.Int64', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '26', [ApplicableFilters] = '0', [GraphSourceId] = '34' WHERE [Id] = 'fa57fbc8-392b-445b-1b0c-08db8eb5c6c7'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '7183ce99-1a81-424c-1b0d-08db8eb5c6c7')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('7183ce99-1a81-424c-1b0d-08db8eb5c6c7', NULL, 'Root Web Template', 'System.String', '0', '1', '0', '26', '0', '34')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Root Web Template', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '26', [ApplicableFilters] = '0', [GraphSourceId] = '34' WHERE [Id] = '7183ce99-1a81-424c-1b0d-08db8eb5c6c7'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0cd1d354-7e92-4b37-1b0e-08db8eb5c6c7')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0cd1d354-7e92-4b37-1b0e-08db8eb5c6c7', NULL, 'Owner Principal Name', 'System.String', '0', '1', '0', '26', '0', '34')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Owner Principal Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '26', [ApplicableFilters] = '0', [GraphSourceId] = '34' WHERE [Id] = '0cd1d354-7e92-4b37-1b0e-08db8eb5c6c7'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '51164239-0408-4870-1b0f-08db8eb5c6c7')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('51164239-0408-4870-1b0f-08db8eb5c6c7', NULL, 'Report Period', 'System.Int32', '0', '1', '0', '26', '0', '34')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Period', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '26', [ApplicableFilters] = '0', [GraphSourceId] = '34' WHERE [Id] = '51164239-0408-4870-1b0f-08db8eb5c6c7'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b1dc860e-4378-4437-82d1-08db8f509834')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b1dc860e-4378-4437-82d1-08db8f509834', NULL, 'Report Refresh Date', 'System.DateTimeOffset', '0', '1', '0', '27', '0', '35')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Refresh Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '27', [ApplicableFilters] = '0', [GraphSourceId] = '35' WHERE [Id] = 'b1dc860e-4378-4437-82d1-08db8f509834'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a002fe81-ac6b-4886-82d2-08db8f509834')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a002fe81-ac6b-4886-82d2-08db8f509834', NULL, 'User Principal Name', 'System.String', '0', '1', '0', '27', '0', '35')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'User Principal Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '27', [ApplicableFilters] = '0', [GraphSourceId] = '35' WHERE [Id] = 'a002fe81-ac6b-4886-82d2-08db8f509834'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '53c46762-66b7-46f4-82d3-08db8f509834')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('53c46762-66b7-46f4-82d3-08db8f509834', NULL, 'Is Deleted', 'System.Boolean', '0', '1', '0', '27', '0', '35')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Is Deleted', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '27', [ApplicableFilters] = '0', [GraphSourceId] = '35' WHERE [Id] = '53c46762-66b7-46f4-82d3-08db8f509834'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c1c0b7c5-71c6-4613-82d4-08db8f509834')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c1c0b7c5-71c6-4613-82d4-08db8f509834', NULL, 'Deleted Date', 'System.DateTimeOffset', '0', '1', '0', '27', '0', '35')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Deleted Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '27', [ApplicableFilters] = '0', [GraphSourceId] = '35' WHERE [Id] = 'c1c0b7c5-71c6-4613-82d4-08db8f509834'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e02a384f-7324-434a-82d5-08db8f509834')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e02a384f-7324-434a-82d5-08db8f509834', NULL, 'Last Activity Date', 'System.DateTimeOffset', '0', '1', '0', '27', '0', '35')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Last Activity Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '27', [ApplicableFilters] = '0', [GraphSourceId] = '35' WHERE [Id] = 'e02a384f-7324-434a-82d5-08db8f509834'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd78209d4-aab5-4f34-82d6-08db8f509834')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d78209d4-aab5-4f34-82d6-08db8f509834', NULL, 'Viewed Or Edited File Count', 'System.Int32', '0', '1', '0', '27', '0', '35')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Viewed Or Edited File Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '27', [ApplicableFilters] = '0', [GraphSourceId] = '35' WHERE [Id] = 'd78209d4-aab5-4f34-82d6-08db8f509834'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9a037e2d-c0d7-4453-82d7-08db8f509834')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9a037e2d-c0d7-4453-82d7-08db8f509834', NULL, 'Synced File Count', 'System.Int32', '0', '1', '0', '27', '0', '35')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Synced File Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '27', [ApplicableFilters] = '0', [GraphSourceId] = '35' WHERE [Id] = '9a037e2d-c0d7-4453-82d7-08db8f509834'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd90d26a7-6f4a-425e-82d8-08db8f509834')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d90d26a7-6f4a-425e-82d8-08db8f509834', NULL, 'Shared Internally File Count', 'System.Int32', '0', '1', '0', '27', '0', '35')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Shared Internally File Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '27', [ApplicableFilters] = '0', [GraphSourceId] = '35' WHERE [Id] = 'd90d26a7-6f4a-425e-82d8-08db8f509834'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '79200720-dbcc-465b-82d9-08db8f509834')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('79200720-dbcc-465b-82d9-08db8f509834', NULL, 'Shared Externally File Count', 'System.Int32', '0', '1', '0', '27', '0', '35')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Shared Externally File Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '27', [ApplicableFilters] = '0', [GraphSourceId] = '35' WHERE [Id] = '79200720-dbcc-465b-82d9-08db8f509834'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a025be87-8bdb-4cf3-82da-08db8f509834')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a025be87-8bdb-4cf3-82da-08db8f509834', NULL, 'Assigned Products', 'System.String', '0', '1', '0', '27', '0', '35')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Assigned Products', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '27', [ApplicableFilters] = '0', [GraphSourceId] = '35' WHERE [Id] = 'a025be87-8bdb-4cf3-82da-08db8f509834'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'dee95795-418b-4b81-82db-08db8f509834')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('dee95795-418b-4b81-82db-08db8f509834', NULL, 'Report Period', 'System.Int32', '0', '1', '0', '27', '0', '35')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Period', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '27', [ApplicableFilters] = '0', [GraphSourceId] = '35' WHERE [Id] = 'dee95795-418b-4b81-82db-08db8f509834'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '491a5736-91cd-4980-9353-08db8f6060da')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('491a5736-91cd-4980-9353-08db8f6060da', NULL, 'Report Refresh Date', 'System.DateTimeOffset', '0', '1', '0', '28', '0', '36')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Refresh Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '28', [ApplicableFilters] = '0', [GraphSourceId] = '36' WHERE [Id] = '491a5736-91cd-4980-9353-08db8f6060da'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f2452c77-2c05-4ef0-9354-08db8f6060da')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f2452c77-2c05-4ef0-9354-08db8f6060da', NULL, 'Site URL', 'System.String', '0', '1', '0', '28', '0', '36')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Site URL', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '28', [ApplicableFilters] = '0', [GraphSourceId] = '36' WHERE [Id] = 'f2452c77-2c05-4ef0-9354-08db8f6060da'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f0ba790c-ca45-469a-9355-08db8f6060da')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f0ba790c-ca45-469a-9355-08db8f6060da', NULL, 'Owner Display Name', 'System.String', '0', '1', '0', '28', '0', '36')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Owner Display Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '28', [ApplicableFilters] = '0', [GraphSourceId] = '36' WHERE [Id] = 'f0ba790c-ca45-469a-9355-08db8f6060da'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1f359fa2-b59d-42b6-9356-08db8f6060da')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1f359fa2-b59d-42b6-9356-08db8f6060da', NULL, 'Is Deleted', 'System.Boolean', '0', '1', '0', '28', '0', '36')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Is Deleted', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '28', [ApplicableFilters] = '0', [GraphSourceId] = '36' WHERE [Id] = '1f359fa2-b59d-42b6-9356-08db8f6060da'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f2bb9235-7f2b-471f-9357-08db8f6060da')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f2bb9235-7f2b-471f-9357-08db8f6060da', NULL, 'Last Activity Date', 'System.DateTimeOffset', '0', '1', '0', '28', '0', '36')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Last Activity Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '28', [ApplicableFilters] = '0', [GraphSourceId] = '36' WHERE [Id] = 'f2bb9235-7f2b-471f-9357-08db8f6060da'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '60bec7b1-0773-4c0e-9358-08db8f6060da')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('60bec7b1-0773-4c0e-9358-08db8f6060da', NULL, 'File Count', 'System.Int32', '0', '1', '0', '28', '0', '36')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'File Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '28', [ApplicableFilters] = '0', [GraphSourceId] = '36' WHERE [Id] = '60bec7b1-0773-4c0e-9358-08db8f6060da'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6f2a78b1-98e0-4882-9359-08db8f6060da')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6f2a78b1-98e0-4882-9359-08db8f6060da', NULL, 'Active File Count', 'System.Int32', '0', '1', '0', '28', '0', '36')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Active File Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '28', [ApplicableFilters] = '0', [GraphSourceId] = '36' WHERE [Id] = '6f2a78b1-98e0-4882-9359-08db8f6060da'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a4f04d38-74d5-456c-935a-08db8f6060da')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a4f04d38-74d5-456c-935a-08db8f6060da', NULL, 'Storage Used (Byte)', 'System.Int64', '0', '1', '0', '28', '0', '36')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Storage Used (Byte)', [DataType] = 'System.Int64', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '28', [ApplicableFilters] = '0', [GraphSourceId] = '36' WHERE [Id] = 'a4f04d38-74d5-456c-935a-08db8f6060da'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5be7d478-34c8-42c7-935b-08db8f6060da')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5be7d478-34c8-42c7-935b-08db8f6060da', NULL, 'Storage Allocated (Byte)', 'System.Int64', '0', '1', '0', '28', '0', '36')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Storage Allocated (Byte)', [DataType] = 'System.Int64', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '28', [ApplicableFilters] = '0', [GraphSourceId] = '36' WHERE [Id] = '5be7d478-34c8-42c7-935b-08db8f6060da'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f96928be-745e-4457-935c-08db8f6060da')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f96928be-745e-4457-935c-08db8f6060da', NULL, 'Owner Principal Name', 'System.String', '0', '1', '0', '28', '0', '36')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Owner Principal Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '28', [ApplicableFilters] = '0', [GraphSourceId] = '36' WHERE [Id] = 'f96928be-745e-4457-935c-08db8f6060da'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c5f97984-7261-4903-935d-08db8f6060da')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c5f97984-7261-4903-935d-08db8f6060da', NULL, 'Report Period', 'System.Int32', '0', '1', '0', '28', '0', '36')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Period', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '28', [ApplicableFilters] = '0', [GraphSourceId] = '36' WHERE [Id] = 'c5f97984-7261-4903-935d-08db8f6060da'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4062c8a9-ca09-4fd3-2210-08db8f7081f1')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4062c8a9-ca09-4fd3-2210-08db8f7081f1', NULL, 'Report Refresh Date', 'System.DateTimeOffset', '0', '1', '0', '29', '0', '37')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Refresh Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '29', [ApplicableFilters] = '0', [GraphSourceId] = '37' WHERE [Id] = '4062c8a9-ca09-4fd3-2210-08db8f7081f1'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '72f49e12-79a4-46e2-2211-08db8f7081f1')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('72f49e12-79a4-46e2-2211-08db8f7081f1', NULL, 'User Principal Name', 'System.String', '0', '1', '0', '29', '0', '37')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'User Principal Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '29', [ApplicableFilters] = '0', [GraphSourceId] = '37' WHERE [Id] = '72f49e12-79a4-46e2-2211-08db8f7081f1'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8e808db3-5535-4eca-2212-08db8f7081f1')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8e808db3-5535-4eca-2212-08db8f7081f1', NULL, 'Display Name', 'System.String', '0', '1', '0', '29', '0', '37')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Display Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '29', [ApplicableFilters] = '0', [GraphSourceId] = '37' WHERE [Id] = '8e808db3-5535-4eca-2212-08db8f7081f1'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '22ab8326-046b-49c2-2213-08db8f7081f1')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('22ab8326-046b-49c2-2213-08db8f7081f1', NULL, 'Is Deleted', 'System.Boolean', '0', '1', '0', '29', '0', '37')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Is Deleted', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '29', [ApplicableFilters] = '0', [GraphSourceId] = '37' WHERE [Id] = '22ab8326-046b-49c2-2213-08db8f7081f1'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'ed8c5eef-5270-46d0-2214-08db8f7081f1')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('ed8c5eef-5270-46d0-2214-08db8f7081f1', NULL, 'Deleted Date', 'System.DateTimeOffset', '0', '1', '0', '29', '0', '37')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Deleted Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '29', [ApplicableFilters] = '0', [GraphSourceId] = '37' WHERE [Id] = 'ed8c5eef-5270-46d0-2214-08db8f7081f1'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '68be2d23-a354-4330-2215-08db8f7081f1')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('68be2d23-a354-4330-2215-08db8f7081f1', NULL, 'Last Activity Date', 'System.DateTimeOffset', '0', '1', '0', '29', '0', '37')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Last Activity Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '29', [ApplicableFilters] = '0', [GraphSourceId] = '37' WHERE [Id] = '68be2d23-a354-4330-2215-08db8f7081f1'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '804308e5-bd93-459e-2216-08db8f7081f1')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('804308e5-bd93-459e-2216-08db8f7081f1', NULL, 'Send Count', 'System.Int32', '0', '1', '0', '29', '0', '37')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Send Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '29', [ApplicableFilters] = '0', [GraphSourceId] = '37' WHERE [Id] = '804308e5-bd93-459e-2216-08db8f7081f1'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a4d2c634-c9a8-4d09-2217-08db8f7081f1')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a4d2c634-c9a8-4d09-2217-08db8f7081f1', NULL, 'Receive Count', 'System.Int32', '0', '1', '0', '29', '0', '37')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Receive Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '29', [ApplicableFilters] = '0', [GraphSourceId] = '37' WHERE [Id] = 'a4d2c634-c9a8-4d09-2217-08db8f7081f1'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1eadb3a0-e41e-4fc2-2218-08db8f7081f1')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1eadb3a0-e41e-4fc2-2218-08db8f7081f1', NULL, 'Read Count', 'System.Int32', '0', '1', '0', '29', '0', '37')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Read Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '29', [ApplicableFilters] = '0', [GraphSourceId] = '37' WHERE [Id] = '1eadb3a0-e41e-4fc2-2218-08db8f7081f1'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4418a8bb-e080-4241-2219-08db8f7081f1')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4418a8bb-e080-4241-2219-08db8f7081f1', NULL, 'Meeting Created Count', 'System.Int32', '0', '1', '0', '29', '0', '37')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Meeting Created Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '29', [ApplicableFilters] = '0', [GraphSourceId] = '37' WHERE [Id] = '4418a8bb-e080-4241-2219-08db8f7081f1'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'cd38bf7e-8768-4904-221a-08db8f7081f1')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('cd38bf7e-8768-4904-221a-08db8f7081f1', NULL, 'Meeting Interacted Count', 'System.Int32', '0', '1', '0', '29', '0', '37')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Meeting Interacted Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '29', [ApplicableFilters] = '0', [GraphSourceId] = '37' WHERE [Id] = 'cd38bf7e-8768-4904-221a-08db8f7081f1'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b4f9d527-fd13-4807-221b-08db8f7081f1')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b4f9d527-fd13-4807-221b-08db8f7081f1', NULL, 'Assigned Products', 'System.String', '0', '1', '0', '29', '0', '37')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Assigned Products', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '29', [ApplicableFilters] = '0', [GraphSourceId] = '37' WHERE [Id] = 'b4f9d527-fd13-4807-221b-08db8f7081f1'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '714b83a5-cb48-4900-221c-08db8f7081f1')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('714b83a5-cb48-4900-221c-08db8f7081f1', NULL, 'Report Period', 'System.Int32', '0', '1', '0', '29', '0', '37')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Period', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '29', [ApplicableFilters] = '0', [GraphSourceId] = '37' WHERE [Id] = '714b83a5-cb48-4900-221c-08db8f7081f1'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f7e391f5-60b4-4ccb-2c16-08db91ae739a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f7e391f5-60b4-4ccb-2c16-08db91ae739a', NULL, 'Report Refresh Date', 'System.DateTimeOffset', '0', '1', '0', '31', '0', '39')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Refresh Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '31', [ApplicableFilters] = '0', [GraphSourceId] = '39' WHERE [Id] = 'f7e391f5-60b4-4ccb-2c16-08db91ae739a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd2f5b81f-a5f1-4d22-2c17-08db91ae739a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d2f5b81f-a5f1-4d22-2c17-08db91ae739a', NULL, 'User Principal Name', 'System.String', '0', '1', '0', '31', '0', '39')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'User Principal Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '31', [ApplicableFilters] = '0', [GraphSourceId] = '39' WHERE [Id] = 'd2f5b81f-a5f1-4d22-2c17-08db91ae739a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5fc2247e-2cec-45b4-2c18-08db91ae739a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5fc2247e-2cec-45b4-2c18-08db91ae739a', NULL, 'Display Name', 'System.String', '0', '1', '0', '31', '0', '39')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Display Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '31', [ApplicableFilters] = '0', [GraphSourceId] = '39' WHERE [Id] = '5fc2247e-2cec-45b4-2c18-08db91ae739a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9d97c9de-7b1f-41c6-2c19-08db91ae739a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9d97c9de-7b1f-41c6-2c19-08db91ae739a', NULL, 'Is Deleted', 'System.Boolean', '0', '1', '0', '31', '0', '39')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Is Deleted', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '31', [ApplicableFilters] = '0', [GraphSourceId] = '39' WHERE [Id] = '9d97c9de-7b1f-41c6-2c19-08db91ae739a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd9007f18-4785-40c9-2c1a-08db91ae739a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d9007f18-4785-40c9-2c1a-08db91ae739a', NULL, 'Deleted Date', 'System.DateTimeOffset', '0', '1', '0', '31', '0', '39')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Deleted Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '31', [ApplicableFilters] = '0', [GraphSourceId] = '39' WHERE [Id] = 'd9007f18-4785-40c9-2c1a-08db91ae739a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b96d44c1-9c33-45c8-2c1b-08db91ae739a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b96d44c1-9c33-45c8-2c1b-08db91ae739a', NULL, 'Created Date', 'System.DateTimeOffset', '0', '1', '0', '31', '0', '39')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Created Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '31', [ApplicableFilters] = '0', [GraphSourceId] = '39' WHERE [Id] = 'b96d44c1-9c33-45c8-2c1b-08db91ae739a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd5d1016e-9b85-4c2a-2c1c-08db91ae739a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d5d1016e-9b85-4c2a-2c1c-08db91ae739a', NULL, 'Last Activity Date', 'System.DateTimeOffset', '0', '1', '0', '31', '0', '39')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Last Activity Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '31', [ApplicableFilters] = '0', [GraphSourceId] = '39' WHERE [Id] = 'd5d1016e-9b85-4c2a-2c1c-08db91ae739a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1d20fc36-d51a-4f43-2c1d-08db91ae739a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1d20fc36-d51a-4f43-2c1d-08db91ae739a', NULL, 'Item Count', 'System.Int32', '0', '1', '0', '31', '0', '39')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Item Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '31', [ApplicableFilters] = '0', [GraphSourceId] = '39' WHERE [Id] = '1d20fc36-d51a-4f43-2c1d-08db91ae739a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd94213b0-d1f7-4055-2c1e-08db91ae739a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d94213b0-d1f7-4055-2c1e-08db91ae739a', NULL, 'Storage Used (Byte)', 'System.Int64', '0', '1', '0', '31', '0', '39')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Storage Used (Byte)', [DataType] = 'System.Int64', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '31', [ApplicableFilters] = '0', [GraphSourceId] = '39' WHERE [Id] = 'd94213b0-d1f7-4055-2c1e-08db91ae739a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '791b1fa1-faa5-4479-2c1f-08db91ae739a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('791b1fa1-faa5-4479-2c1f-08db91ae739a', NULL, 'Issue Warning Quota (Byte)', 'System.Int64', '0', '1', '0', '31', '0', '39')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Issue Warning Quota (Byte)', [DataType] = 'System.Int64', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '31', [ApplicableFilters] = '0', [GraphSourceId] = '39' WHERE [Id] = '791b1fa1-faa5-4479-2c1f-08db91ae739a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0c3728bb-a7bf-4ea8-2c20-08db91ae739a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0c3728bb-a7bf-4ea8-2c20-08db91ae739a', NULL, 'Prohibit Send Quota (Byte)', 'System.Int64', '0', '1', '0', '31', '0', '39')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Prohibit Send Quota (Byte)', [DataType] = 'System.Int64', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '31', [ApplicableFilters] = '0', [GraphSourceId] = '39' WHERE [Id] = '0c3728bb-a7bf-4ea8-2c20-08db91ae739a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'bf6360f9-8eaf-432f-2c21-08db91ae739a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('bf6360f9-8eaf-432f-2c21-08db91ae739a', NULL, 'Prohibit Send/Receive Quota (Byte)', 'System.Int64', '0', '1', '0', '31', '0', '39')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Prohibit Send/Receive Quota (Byte)', [DataType] = 'System.Int64', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '31', [ApplicableFilters] = '0', [GraphSourceId] = '39' WHERE [Id] = 'bf6360f9-8eaf-432f-2c21-08db91ae739a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6638b711-b786-4428-2c22-08db91ae739a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6638b711-b786-4428-2c22-08db91ae739a', NULL, 'Deleted Item Count', 'System.Int32', '0', '1', '0', '31', '0', '39')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Deleted Item Count', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '31', [ApplicableFilters] = '0', [GraphSourceId] = '39' WHERE [Id] = '6638b711-b786-4428-2c22-08db91ae739a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'eaa43a3a-f10c-46e8-2c23-08db91ae739a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('eaa43a3a-f10c-46e8-2c23-08db91ae739a', NULL, 'Deleted Item Size (Byte)', 'System.Int64', '0', '1', '0', '31', '0', '39')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Deleted Item Size (Byte)', [DataType] = 'System.Int64', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '31', [ApplicableFilters] = '0', [GraphSourceId] = '39' WHERE [Id] = 'eaa43a3a-f10c-46e8-2c23-08db91ae739a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fc23f52e-40c1-431d-2c24-08db91ae739a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fc23f52e-40c1-431d-2c24-08db91ae739a', NULL, 'Deleted Item Quota (Byte)', 'System.Int64', '0', '1', '0', '31', '0', '39')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Deleted Item Quota (Byte)', [DataType] = 'System.Int64', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '31', [ApplicableFilters] = '0', [GraphSourceId] = '39' WHERE [Id] = 'fc23f52e-40c1-431d-2c24-08db91ae739a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4155e677-c09c-4e25-2c25-08db91ae739a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4155e677-c09c-4e25-2c25-08db91ae739a', NULL, 'Has Archive', 'System.Boolean', '0', '1', '0', '31', '0', '39')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Has Archive', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '31', [ApplicableFilters] = '0', [GraphSourceId] = '39' WHERE [Id] = '4155e677-c09c-4e25-2c25-08db91ae739a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5a8eab93-f90d-451e-2c26-08db91ae739a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5a8eab93-f90d-451e-2c26-08db91ae739a', NULL, 'Report Period', 'System.Int32', '0', '1', '0', '31', '0', '39')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Period', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '31', [ApplicableFilters] = '0', [GraphSourceId] = '39' WHERE [Id] = '5a8eab93-f90d-451e-2c26-08db91ae739a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'cec85906-efb0-4856-2506-08db91c1d674')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('cec85906-efb0-4856-2506-08db91c1d674', NULL, 'Report Refresh Date', 'System.DateTimeOffset', '0', '1', '0', '30', '0', '38')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Refresh Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '30', [ApplicableFilters] = '0', [GraphSourceId] = '38' WHERE [Id] = 'cec85906-efb0-4856-2506-08db91c1d674'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3874293b-5067-4b47-2507-08db91c1d674')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3874293b-5067-4b47-2507-08db91c1d674', NULL, 'User Principal Name', 'System.String', '0', '1', '0', '30', '0', '38')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'User Principal Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '30', [ApplicableFilters] = '0', [GraphSourceId] = '38' WHERE [Id] = '3874293b-5067-4b47-2507-08db91c1d674'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c4a0b4f4-0340-4eef-2508-08db91c1d674')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c4a0b4f4-0340-4eef-2508-08db91c1d674', NULL, 'Display Name', 'System.String', '0', '1', '0', '30', '0', '38')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Display Name', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '30', [ApplicableFilters] = '0', [GraphSourceId] = '38' WHERE [Id] = 'c4a0b4f4-0340-4eef-2508-08db91c1d674'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c89f32a1-d41b-4713-2509-08db91c1d674')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c89f32a1-d41b-4713-2509-08db91c1d674', NULL, 'Is Deleted', 'System.Boolean', '0', '1', '0', '30', '0', '38')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Is Deleted', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '30', [ApplicableFilters] = '0', [GraphSourceId] = '38' WHERE [Id] = 'c89f32a1-d41b-4713-2509-08db91c1d674'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3a1bbc79-80c5-4097-250a-08db91c1d674')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3a1bbc79-80c5-4097-250a-08db91c1d674', NULL, 'Deleted Date', 'System.DateTimeOffset', '0', '1', '0', '30', '0', '38')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Deleted Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '30', [ApplicableFilters] = '0', [GraphSourceId] = '38' WHERE [Id] = '3a1bbc79-80c5-4097-250a-08db91c1d674'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'bdd81d88-4818-45be-250b-08db91c1d674')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('bdd81d88-4818-45be-250b-08db91c1d674', NULL, 'Last Activity Date', 'System.DateTimeOffset', '0', '1', '0', '30', '0', '38')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Last Activity Date', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '30', [ApplicableFilters] = '0', [GraphSourceId] = '38' WHERE [Id] = 'bdd81d88-4818-45be-250b-08db91c1d674'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8c5c35c5-6b24-4107-250c-08db91c1d674')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8c5c35c5-6b24-4107-250c-08db91c1d674', NULL, 'Mail For Mac', 'System.String', '0', '1', '0', '30', '0', '38')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Mail For Mac', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '30', [ApplicableFilters] = '0', [GraphSourceId] = '38' WHERE [Id] = '8c5c35c5-6b24-4107-250c-08db91c1d674'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3a4cb944-de2d-4d3a-250d-08db91c1d674')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3a4cb944-de2d-4d3a-250d-08db91c1d674', NULL, 'Outlook For Mac', 'System.String', '0', '1', '0', '30', '0', '38')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Outlook For Mac', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '30', [ApplicableFilters] = '0', [GraphSourceId] = '38' WHERE [Id] = '3a4cb944-de2d-4d3a-250d-08db91c1d674'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'ed131bf0-9fb6-4add-250e-08db91c1d674')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('ed131bf0-9fb6-4add-250e-08db91c1d674', NULL, 'Outlook For Windows', 'System.String', '0', '1', '0', '30', '0', '38')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Outlook For Windows', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '30', [ApplicableFilters] = '0', [GraphSourceId] = '38' WHERE [Id] = 'ed131bf0-9fb6-4add-250e-08db91c1d674'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '98e47c98-ddf5-4049-250f-08db91c1d674')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('98e47c98-ddf5-4049-250f-08db91c1d674', NULL, 'Outlook For Mobile', 'System.String', '0', '1', '0', '30', '0', '38')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Outlook For Mobile', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '30', [ApplicableFilters] = '0', [GraphSourceId] = '38' WHERE [Id] = '98e47c98-ddf5-4049-250f-08db91c1d674'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e194de66-615a-47d2-2510-08db91c1d674')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e194de66-615a-47d2-2510-08db91c1d674', NULL, 'Other For Mobile', 'System.String', '0', '1', '0', '30', '0', '38')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Other For Mobile', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '30', [ApplicableFilters] = '0', [GraphSourceId] = '38' WHERE [Id] = 'e194de66-615a-47d2-2510-08db91c1d674'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '821cafdd-b4ab-49c7-2511-08db91c1d674')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('821cafdd-b4ab-49c7-2511-08db91c1d674', NULL, 'Outlook For Web', 'System.String', '0', '1', '0', '30', '0', '38')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Outlook For Web', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '30', [ApplicableFilters] = '0', [GraphSourceId] = '38' WHERE [Id] = '821cafdd-b4ab-49c7-2511-08db91c1d674'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a9b6a087-509d-4722-2512-08db91c1d674')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a9b6a087-509d-4722-2512-08db91c1d674', NULL, 'POP3 App', 'System.String', '0', '1', '0', '30', '0', '38')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'POP3 App', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '30', [ApplicableFilters] = '0', [GraphSourceId] = '38' WHERE [Id] = 'a9b6a087-509d-4722-2512-08db91c1d674'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e8a6dd14-e362-46ed-2513-08db91c1d674')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e8a6dd14-e362-46ed-2513-08db91c1d674', NULL, 'IMAP4 App', 'System.String', '0', '1', '0', '30', '0', '38')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'IMAP4 App', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '30', [ApplicableFilters] = '0', [GraphSourceId] = '38' WHERE [Id] = 'e8a6dd14-e362-46ed-2513-08db91c1d674'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b4ee3f29-7b3d-4eff-2514-08db91c1d674')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b4ee3f29-7b3d-4eff-2514-08db91c1d674', NULL, 'SMTP App', 'System.String', '0', '1', '0', '30', '0', '38')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'SMTP App', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '30', [ApplicableFilters] = '0', [GraphSourceId] = '38' WHERE [Id] = 'b4ee3f29-7b3d-4eff-2514-08db91c1d674'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3e7a89e8-ba82-4595-2515-08db91c1d674')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3e7a89e8-ba82-4595-2515-08db91c1d674', NULL, 'Report Period', 'System.Int32', '0', '1', '0', '30', '0', '38')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'Report Period', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '30', [ApplicableFilters] = '0', [GraphSourceId] = '38' WHERE [Id] = '3e7a89e8-ba82-4595-2515-08db91c1d674'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '48f16d6b-3148-480b-8293-0a835b934948')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('48f16d6b-3148-480b-8293-0a835b934948', NULL, 'totalStorageSpaceInBytes', 'System.Int64', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'totalStorageSpaceInBytes', [DataType] = 'System.Int64', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '48f16d6b-3148-480b-8293-0a835b934948'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'ddfd814a-8f06-4bb7-aa20-0c9e65c6b18c')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('ddfd814a-8f06-4bb7-aa20-0c9e65c6b18c', NULL, 'windowsRemediatedMalwareCount', 'System.Int32', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'windowsRemediatedMalwareCount', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'ddfd814a-8f06-4bb7-aa20-0c9e65c6b18c'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'eac1d2d1-d1fb-43a8-a8bb-0f148c964bf9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('eac1d2d1-d1fb-43a8-a8bb-0f148c964bf9', NULL, 'activationLockBypassCode', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'activationLockBypassCode', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'eac1d2d1-d1fb-43a8-a8bb-0f148c964bf9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd718c9b1-f2fd-49a9-8920-0f38bf2ec377')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d718c9b1-f2fd-49a9-8920-0f38bf2ec377', NULL, 'azureADRegistered', 'System.Boolean', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'azureADRegistered', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'd718c9b1-f2fd-49a9-8920-0f38bf2ec377'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd6b4db1b-1fc0-4330-97fd-14ff74e9257e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d6b4db1b-1fc0-4330-97fd-14ff74e9257e', NULL, 'targetGroupId', 'System.String', '1', '2', '0', '9', '0', '15')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'targetGroupId', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '9', [ApplicableFilters] = '0', [GraphSourceId] = '15' WHERE [Id] = 'd6b4db1b-1fc0-4330-97fd-14ff74e9257e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5a30cbb0-1cb2-448b-88fe-1623a7d592eb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5a30cbb0-1cb2-448b-88fe-1623a7d592eb', NULL, 'meid', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'meid', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '5a30cbb0-1cb2-448b-88fe-1623a7d592eb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '379e6a4a-7861-49cb-9590-181247e18e0f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('379e6a4a-7861-49cb-9590-181247e18e0f', NULL, 'id', 'System.String', '0', '1', '0', '1', '0', '4')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'id', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '1', [ApplicableFilters] = '0', [GraphSourceId] = '4' WHERE [Id] = '379e6a4a-7861-49cb-9590-181247e18e0f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '58595490-969b-49b8-9fdf-190bb5e39267')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('58595490-969b-49b8-9fdf-190bb5e39267', NULL, 'emailAddress', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'emailAddress', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '58595490-969b-49b8-9fdf-190bb5e39267'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e1bdea3b-1069-4f52-94c9-1f6a101523f3')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e1bdea3b-1069-4f52-94c9-1f6a101523f3', NULL, 'specificationVersion', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'specificationVersion', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'e1bdea3b-1069-4f52-94c9-1f6a101523f3'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0fddadc3-95cb-4612-a077-2741bd63a284')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0fddadc3-95cb-4612-a077-2741bd63a284', 'c87bc383-029a-405d-428d-08d9534b680a', 'servicePlanName', 'System.String', '0', '1', '1', '5', '0', '9')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = 'c87bc383-029a-405d-428d-08d9534b680a', [Name] = 'servicePlanName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '5', [ApplicableFilters] = '0', [GraphSourceId] = '9' WHERE [Id] = '0fddadc3-95cb-4612-a077-2741bd63a284'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '8d84d649-7bfd-4fed-a898-28e9315edd1c')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('8d84d649-7bfd-4fed-a898-28e9315edd1c', NULL, 'tpmSpecificationVersion', 'System.String', '1', '2', '0', '7', '0', '11')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'tpmSpecificationVersion', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '7', [ApplicableFilters] = '0', [GraphSourceId] = '11' WHERE [Id] = '8d84d649-7bfd-4fed-a898-28e9315edd1c'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a73ebeba-0bd0-48a8-940b-2c298368076d')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a73ebeba-0bd0-48a8-940b-2c298368076d', NULL, 'excludeGroup', 'System.Boolean', '1', '2', '0', '9', '0', '15')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'excludeGroup', [DataType] = 'System.Boolean', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '9', [ApplicableFilters] = '0', [GraphSourceId] = '15' WHERE [Id] = 'a73ebeba-0bd0-48a8-940b-2c298368076d'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '08e00a71-e449-4f15-84a7-2d001bdc93e7')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('08e00a71-e449-4f15-84a7-2d001bdc93e7', NULL, 'lastSyncDateTime', 'System.DateTimeOffset', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'lastSyncDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '08e00a71-e449-4f15-84a7-2d001bdc93e7'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '7ceef9bb-cbc6-4a6e-a480-322a4d9b05b9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('7ceef9bb-cbc6-4a6e-a480-322a4d9b05b9', NULL, 'requireUserEnrollmentApproval', 'System.Boolean', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'requireUserEnrollmentApproval', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '7ceef9bb-cbc6-4a6e-a480-322a4d9b05b9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c6323fa2-9398-47e3-9ba9-34a99c6c71a9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c6323fa2-9398-47e3-9ba9-34a99c6c71a9', NULL, 'policyDetails', 'System.String', '0', '2', '1', '7', '0', '11')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'policyDetails', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '2', [Relation] = '1', [ResourceSourceType] = '7', [ApplicableFilters] = '0', [GraphSourceId] = '11' WHERE [Id] = 'c6323fa2-9398-47e3-9ba9-34a99c6c71a9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6308ca5c-0b58-4fad-b628-3648817a1956')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6308ca5c-0b58-4fad-b628-3648817a1956', NULL, 'id', 'System.String', '0', '1', '0', '3', '0', '7')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'id', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '3', [ApplicableFilters] = '0', [GraphSourceId] = '7' WHERE [Id] = '6308ca5c-0b58-4fad-b628-3648817a1956'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '01f9b604-11e8-4464-92b0-3e2a03482395')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('01f9b604-11e8-4464-92b0-3e2a03482395', NULL, 'skuFamily', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'skuFamily', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '01f9b604-11e8-4464-92b0-3e2a03482395'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '46d7f965-a404-4250-9954-413bdee204ce')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('46d7f965-a404-4250-9954-413bdee204ce', NULL, 'retireAfterDateTime', 'System.DateTimeOffset', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'retireAfterDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '46d7f965-a404-4250-9954-413bdee204ce'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e6c17548-3719-4df5-b80f-48784f3967f7')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e6c17548-3719-4df5-b80f-48784f3967f7', NULL, 'userPrincipalName', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'userPrincipalName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'e6c17548-3719-4df5-b80f-48784f3967f7'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4ac7cb65-60c0-4edc-b7ff-523613fd0214')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4ac7cb65-60c0-4edc-b7ff-523613fd0214', NULL, 'jailBroken', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'jailBroken', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '4ac7cb65-60c0-4edc-b7ff-523613fd0214'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '7d44cb01-eab7-4085-a6d0-54476b9d77c0')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('7d44cb01-eab7-4085-a6d0-54476b9d77c0', NULL, 'ethernetMacAddress', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'ethernetMacAddress', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '7d44cb01-eab7-4085-a6d0-54476b9d77c0'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '85b0dae4-96e9-47f9-80dd-582f1288150d')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('85b0dae4-96e9-47f9-80dd-582f1288150d', NULL, 'deviceCategoryDisplayName', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'deviceCategoryDisplayName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '85b0dae4-96e9-47f9-80dd-582f1288150d'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '1a087eed-8838-4bbc-b8a1-591862581905')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('1a087eed-8838-4bbc-b8a1-591862581905', NULL, 'wiFiMacAddress', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'wiFiMacAddress', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '1a087eed-8838-4bbc-b8a1-591862581905'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '2d8926ac-4dde-4714-b836-5ab022a2923c')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('2d8926ac-4dde-4714-b836-5ab022a2923c', '5e0ebe0e-607d-461b-d98b-08d9534b3181', 'skuId', 'System.Guid', '1', '2', '0', '2', '0', '12')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = '5e0ebe0e-607d-461b-d98b-08d9534b3181', [Name] = 'skuId', [DataType] = 'System.Guid', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '12' WHERE [Id] = '2d8926ac-4dde-4714-b836-5ab022a2923c'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '700a30a4-50dc-473c-9fc1-5ac97db3fecb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('700a30a4-50dc-473c-9fc1-5ac97db3fecb', NULL, 'easDeviceId', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'easDeviceId', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '700a30a4-50dc-473c-9fc1-5ac97db3fecb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '122cc496-2680-48c0-a8ec-5e1aff79caed')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('122cc496-2680-48c0-a8ec-5e1aff79caed', NULL, 'aadRegistered', 'System.Boolean', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'aadRegistered', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '122cc496-2680-48c0-a8ec-5e1aff79caed'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '399e741e-49dc-4bf2-8c2b-63744f5e533f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('399e741e-49dc-4bf2-8c2b-63744f5e533f', NULL, 'displayName', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'displayName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '399e741e-49dc-4bf2-8c2b-63744f5e533f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '868f2808-492f-4abf-a183-6778d3ca3bec')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('868f2808-492f-4abf-a183-6778d3ca3bec', NULL, 'enrollmentProfileName', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'enrollmentProfileName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '868f2808-492f-4abf-a183-6778d3ca3bec'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c07eb7d8-ad2e-4329-bc38-6878d5f52ab6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c07eb7d8-ad2e-4329-bc38-6878d5f52ab6', NULL, 'userPrincipalName', 'System.String', '1', '2', '0', '7', '0', '11')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'userPrincipalName', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '7', [ApplicableFilters] = '0', [GraphSourceId] = '11' WHERE [Id] = 'c07eb7d8-ad2e-4329-bc38-6878d5f52ab6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'ea40fc3d-2e02-4b71-8f50-6e81735383fe')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('ea40fc3d-2e02-4b71-8f50-6e81735383fe', NULL, 'physicalMemoryInBytes', 'System.Int64', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'physicalMemoryInBytes', [DataType] = 'System.Int64', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'ea40fc3d-2e02-4b71-8f50-6e81735383fe'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '221029f6-9e15-4c64-8e57-6f127be72bc6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('221029f6-9e15-4c64-8e57-6f127be72bc6', NULL, 'managementCertificateExpirationDate', 'System.DateTimeOffset', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'managementCertificateExpirationDate', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '221029f6-9e15-4c64-8e57-6f127be72bc6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4bd209d2-7044-421a-af6c-6fc298879f93')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4bd209d2-7044-421a-af6c-6fc298879f93', NULL, 'freeStorageSpaceInBytes', 'System.Int64', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'freeStorageSpaceInBytes', [DataType] = 'System.Int64', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '4bd209d2-7044-421a-af6c-6fc298879f93'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd5ca8d35-055f-49d0-9f60-71e4a8efbcd4')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d5ca8d35-055f-49d0-9f60-71e4a8efbcd4', NULL, 'model', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'model', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'd5ca8d35-055f-49d0-9f60-71e4a8efbcd4'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a1b65a69-b751-461e-b251-7275c311ba4b')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a1b65a69-b751-461e-b251-7275c311ba4b', NULL, 'preferMdmOverGroupPolicyAppliedDateTime', 'System.DateTimeOffset', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'preferMdmOverGroupPolicyAppliedDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'a1b65a69-b751-461e-b251-7275c311ba4b'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'f3424b84-b93b-4d7e-aaa7-78802df04385')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('f3424b84-b93b-4d7e-aaa7-78802df04385', NULL, 'remoteAssistanceSessionErrorDetails', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'remoteAssistanceSessionErrorDetails', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'f3424b84-b93b-4d7e-aaa7-78802df04385'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'cade695c-809d-4d1d-8a72-7a7acd7f7fa9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('cade695c-809d-4d1d-8a72-7a7acd7f7fa9', 'c87bc383-029a-405d-428d-08d9534b680a', 'appliesTo', 'System.String', '0', '1', '1', '5', '0', '9')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = 'c87bc383-029a-405d-428d-08d9534b680a', [Name] = 'appliesTo', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '5', [ApplicableFilters] = '0', [GraphSourceId] = '9' WHERE [Id] = 'cade695c-809d-4d1d-8a72-7a7acd7f7fa9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0a25acdb-0d58-47e3-b1e5-81f7dbaeaf54')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0a25acdb-0d58-47e3-b1e5-81f7dbaeaf54', NULL, 'serialNumber', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'serialNumber', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '0a25acdb-0d58-47e3-b1e5-81f7dbaeaf54'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'ac2ab0c3-b4d0-4acb-b8db-8552d30f965e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('ac2ab0c3-b4d0-4acb-b8db-8552d30f965e', NULL, 'complianceGracePeriodExpirationDateTime', 'System.DateTimeOffset', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'complianceGracePeriodExpirationDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'ac2ab0c3-b4d0-4acb-b8db-8552d30f965e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e1c73f76-66ed-4b6e-a97b-879b0d718ae2')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e1c73f76-66ed-4b6e-a97b-879b0d718ae2', NULL, 'enrolledDateTime', 'System.DateTimeOffset', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'enrolledDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'e1c73f76-66ed-4b6e-a97b-879b0d718ae2'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e660bce7-b5d4-4b0e-ac83-89d5cd5e89a2')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e660bce7-b5d4-4b0e-ac83-89d5cd5e89a2', NULL, 'osVersion', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'osVersion', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'e660bce7-b5d4-4b0e-ac83-89d5cd5e89a2'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '3f21f14e-d348-4ef0-a3a7-8e4b5d793ef8')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('3f21f14e-d348-4ef0-a3a7-8e4b5d793ef8', NULL, 'path', 'System.String', '0', '1', '1', '14', '0', '20')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'path', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '14', [ApplicableFilters] = '0', [GraphSourceId] = '20' WHERE [Id] = '3f21f14e-d348-4ef0-a3a7-8e4b5d793ef8'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5777235c-86ca-41d7-9edd-91c6be2bbb1d')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5777235c-86ca-41d7-9edd-91c6be2bbb1d', NULL, 'exchangeLastSuccessfulSyncDateTime', 'System.DateTimeOffset', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'exchangeLastSuccessfulSyncDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '5777235c-86ca-41d7-9edd-91c6be2bbb1d'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '94c1d3ab-f4d6-498c-b8a3-935555a98218')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('94c1d3ab-f4d6-498c-b8a3-935555a98218', NULL, 'id', 'System.String', '0', '1', '0', '2', '0', '6')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'id', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '2', [ApplicableFilters] = '0', [GraphSourceId] = '6' WHERE [Id] = '94c1d3ab-f4d6-498c-b8a3-935555a98218'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'dcddc0cd-ddc8-4024-bd05-94de6348a220')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('dcddc0cd-ddc8-4024-bd05-94de6348a220', NULL, 'phoneNumber', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'phoneNumber', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'dcddc0cd-ddc8-4024-bd05-94de6348a220'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '136497ef-fb0b-4808-9be1-9ab8f148ebe2')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('136497ef-fb0b-4808-9be1-9ab8f148ebe2', NULL, 'domainGuid', 'System.String', '0', '1', '0', '15', '0', '21')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'domainGuid', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '15', [ApplicableFilters] = '0', [GraphSourceId] = '21' WHERE [Id] = '136497ef-fb0b-4808-9be1-9ab8f148ebe2'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b1c554c3-8c7d-4f6c-a858-9c05e89dbab8')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b1c554c3-8c7d-4f6c-a858-9c05e89dbab8', NULL, 'domain', 'System.String', '0', '1', '0', '11', '0', '17')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'domain', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '11', [ApplicableFilters] = '0', [GraphSourceId] = '17' WHERE [Id] = 'b1c554c3-8c7d-4f6c-a858-9c05e89dbab8'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c0dca1bb-6660-46e7-a718-9c96b8f915a3')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c0dca1bb-6660-46e7-a718-9c96b8f915a3', NULL, 'deviceType', 'System.String', '1', '2', '0', '7', '0', '11')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'deviceType', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '7', [ApplicableFilters] = '0', [GraphSourceId] = '11' WHERE [Id] = 'c0dca1bb-6660-46e7-a718-9c96b8f915a3'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6fe53047-3247-44f7-a7b7-a201dfffdaa7')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6fe53047-3247-44f7-a7b7-a201dfffdaa7', NULL, 'subscriberCarrier', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'subscriberCarrier', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '6fe53047-3247-44f7-a7b7-a201dfffdaa7'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '050556ae-2d83-4953-bd30-b0835787cd9f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('050556ae-2d83-4953-bd30-b0835787cd9f', NULL, 'ownerType', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'ownerType', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '050556ae-2d83-4953-bd30-b0835787cd9f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a2077cf5-2736-4994-b06b-b20fbbbd62bb')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a2077cf5-2736-4994-b06b-b20fbbbd62bb', NULL, 'iccid', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'iccid', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'a2077cf5-2736-4994-b06b-b20fbbbd62bb'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'bf2ba65b-3e86-4880-8b24-b2b9960dbc41')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('bf2ba65b-3e86-4880-8b24-b2b9960dbc41', NULL, 'azureActiveDirectoryDeviceId', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'azureActiveDirectoryDeviceId', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'bf2ba65b-3e86-4880-8b24-b2b9960dbc41'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '97ec7abe-1cbc-4106-861b-b2d03fce56b9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('97ec7abe-1cbc-4106-861b-b2d03fce56b9', NULL, 'userId', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'userId', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '97ec7abe-1cbc-4106-861b-b2d03fce56b9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9bc0ab65-d5cc-480b-87df-b454c3ddd9a6')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9bc0ab65-d5cc-480b-87df-b454c3ddd9a6', NULL, 'deviceName', 'System.String', '1', '2', '0', '7', '0', '11')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'deviceName', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '7', [ApplicableFilters] = '0', [GraphSourceId] = '11' WHERE [Id] = '9bc0ab65-d5cc-480b-87df-b454c3ddd9a6'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '27401515-13f4-4397-bbda-b55d3f18d9ac')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('27401515-13f4-4397-bbda-b55d3f18d9ac', NULL, 'autopilotEnrolled', 'System.Boolean', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'autopilotEnrolled', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '27401515-13f4-4397-bbda-b55d3f18d9ac'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '9e319c3c-367c-46bf-bdb8-b562ec6288d3')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('9e319c3c-367c-46bf-bdb8-b562ec6288d3', NULL, 'id', 'System.String', '0', '1', '0', '8', '0', '14')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'id', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '8', [ApplicableFilters] = '0', [GraphSourceId] = '14' WHERE [Id] = '9e319c3c-367c-46bf-bdb8-b562ec6288d3'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '0a3b437f-b48d-4548-9987-b889496c27bd')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('0a3b437f-b48d-4548-9987-b889496c27bd', NULL, 'encryptionState', 'System.String', '1', '2', '0', '7', '0', '11')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'encryptionState', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '7', [ApplicableFilters] = '0', [GraphSourceId] = '11' WHERE [Id] = '0a3b437f-b48d-4548-9987-b889496c27bd'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '93add626-a2a6-43d6-994a-b8c8aca947c4')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('93add626-a2a6-43d6-994a-b8c8aca947c4', NULL, 'operatingSystem', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'operatingSystem', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '93add626-a2a6-43d6-994a-b8c8aca947c4'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'a805f61c-de5d-4ed0-b6f9-bb28b94cbe5f')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('a805f61c-de5d-4ed0-b6f9-bb28b94cbe5f', NULL, 'androidSecurityPatchLevel', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'androidSecurityPatchLevel', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'a805f61c-de5d-4ed0-b6f9-bb28b94cbe5f'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'ecf6c795-9425-4c61-846f-bc18cf611d29')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('ecf6c795-9425-4c61-846f-bc18cf611d29', NULL, 'id', 'System.String', '0', '1', '0', '4', '0', '8')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'id', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '4', [ApplicableFilters] = '0', [GraphSourceId] = '8' WHERE [Id] = 'ecf6c795-9425-4c61-846f-bc18cf611d29'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '641aa9bc-baa1-48b1-8b34-bcea5d02e2b8')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('641aa9bc-baa1-48b1-8b34-bcea5d02e2b8', NULL, 'easActivated', 'System.Boolean', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'easActivated', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '641aa9bc-baa1-48b1-8b34-bcea5d02e2b8'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '6a741d65-a7ec-494a-aa40-c01b728e9bd3')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('6a741d65-a7ec-494a-aa40-c01b728e9bd3', NULL, 'imei', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'imei', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '6a741d65-a7ec-494a-aa40-c01b728e9bd3'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'dd75b4e4-d50a-4705-a2ff-c21e6bfe1503')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('dd75b4e4-d50a-4705-a2ff-c21e6bfe1503', 'c87bc383-029a-405d-428d-08d9534b680a', 'provisioningStatus', 'System.String', '0', '1', '1', '5', '0', '9')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = 'c87bc383-029a-405d-428d-08d9534b680a', [Name] = 'provisioningStatus', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '1', [ResourceSourceType] = '5', [ApplicableFilters] = '0', [GraphSourceId] = '9' WHERE [Id] = 'dd75b4e4-d50a-4705-a2ff-c21e6bfe1503'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'b7343925-47cd-476c-825d-c25bfead2399')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('b7343925-47cd-476c-825d-c25bfead2399', NULL, 'azureADDeviceId', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'azureADDeviceId', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'b7343925-47cd-476c-825d-c25bfead2399'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'bf7f5c75-782c-4655-b4f5-c3e19e639771')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('bf7f5c75-782c-4655-b4f5-c3e19e639771', NULL, 'managedDeviceName', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'managedDeviceName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'bf7f5c75-782c-4655-b4f5-c3e19e639771'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c5b23f66-6432-4c8e-a409-c5aee3d6cf5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c5b23f66-6432-4c8e-a409-c5aee3d6cf5e', NULL, 'id', 'System.String', '1', '2', '0', '9', '0', '15')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'id', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '9', [ApplicableFilters] = '0', [GraphSourceId] = '15' WHERE [Id] = 'c5b23f66-6432-4c8e-a409-c5aee3d6cf5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '20465bff-9dbf-408b-92dc-c782bc75fc52')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('20465bff-9dbf-408b-92dc-c782bc75fc52', NULL, 'easActivationDateTime', 'System.DateTimeOffset', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'easActivationDateTime', [DataType] = 'System.DateTimeOffset', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '20465bff-9dbf-408b-92dc-c782bc75fc52'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '5b8facf8-1b55-4c07-956b-c8431a99bd5a')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('5b8facf8-1b55-4c07-956b-c8431a99bd5a', NULL, 'encryptionReadinessState', 'System.String', '1', '2', '0', '7', '0', '11')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'encryptionReadinessState', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '7', [ApplicableFilters] = '0', [GraphSourceId] = '11' WHERE [Id] = '5b8facf8-1b55-4c07-956b-c8431a99bd5a'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '2436cdca-9400-413c-9440-cf1a5e2820a9')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('2436cdca-9400-413c-9440-cf1a5e2820a9', NULL, 'deviceName', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'deviceName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '2436cdca-9400-413c-9440-cf1a5e2820a9'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '795d478b-85ce-4b66-b3f4-d2dc43ff3164')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('795d478b-85ce-4b66-b3f4-d2dc43ff3164', NULL, 'notes', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'notes', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '795d478b-85ce-4b66-b3f4-d2dc43ff3164'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c7a478f0-aebe-49cb-bb02-d51adee93eca')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c7a478f0-aebe-49cb-bb02-d51adee93eca', NULL, 'userDisplayName', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'userDisplayName', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'c7a478f0-aebe-49cb-bb02-d51adee93eca'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'fe9d0454-6296-46d5-842f-d5428733f25e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('fe9d0454-6296-46d5-842f-d5428733f25e', NULL, 'osVersion', 'System.String', '1', '2', '0', '7', '0', '11')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'osVersion', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '0', [ResourceSourceType] = '7', [ApplicableFilters] = '0', [GraphSourceId] = '11' WHERE [Id] = 'fe9d0454-6296-46d5-842f-d5428733f25e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'd911a563-a902-4e49-aef0-d5f90cd25a5e')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('d911a563-a902-4e49-aef0-d5f90cd25a5e', NULL, 'isEncrypted', 'System.Boolean', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isEncrypted', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'd911a563-a902-4e49-aef0-d5f90cd25a5e'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '628ff17b-ad67-4406-9def-d6c2d0937712')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('628ff17b-ad67-4406-9def-d6c2d0937712', NULL, 'skuNumber', 'System.Int32', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'skuNumber', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '628ff17b-ad67-4406-9def-d6c2d0937712'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '4cde9442-ce7c-4c56-85d4-d8a7be1c2272')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('4cde9442-ce7c-4c56-85d4-d8a7be1c2272', NULL, 'id', 'System.String', '0', '1', '0', '17', '0', '24')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'id', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '17', [ApplicableFilters] = '0', [GraphSourceId] = '24' WHERE [Id] = '4cde9442-ce7c-4c56-85d4-d8a7be1c2272'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '7a5c9c3d-1081-4641-83d1-d968ee93651b')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('7a5c9c3d-1081-4641-83d1-d968ee93651b', NULL, 'remoteAssistanceSessionUrl', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'remoteAssistanceSessionUrl', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '7a5c9c3d-1081-4641-83d1-d968ee93651b'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'daa902f4-cef8-4669-9e73-da6143e8e672')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('daa902f4-cef8-4669-9e73-da6143e8e672', NULL, 'id', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'id', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'daa902f4-cef8-4669-9e73-da6143e8e672'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '74f8489d-b4ae-40da-a066-e77db9f63e07')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('74f8489d-b4ae-40da-a066-e77db9f63e07', NULL, 'windowsActiveMalwareCount', 'System.Int32', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'windowsActiveMalwareCount', [DataType] = 'System.Int32', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '74f8489d-b4ae-40da-a066-e77db9f63e07'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'c54d9e91-30be-4edf-bc21-f69bb37a022d')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('c54d9e91-30be-4edf-bc21-f69bb37a022d', NULL, 'udid', 'System.String', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'udid', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = 'c54d9e91-30be-4edf-bc21-f69bb37a022d'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = 'e841a1bb-7006-42d7-bdd5-fba1a39dbf2c')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('e841a1bb-7006-42d7-bdd5-fba1a39dbf2c', NULL, 'domain', 'System.String', '0', '1', '0', '12', '0', '18')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'domain', [DataType] = 'System.String', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '12', [ApplicableFilters] = '0', [GraphSourceId] = '18' WHERE [Id] = 'e841a1bb-7006-42d7-bdd5-fba1a39dbf2c'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '81c851a8-140e-452e-bcc8-fd47b48eb897')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('81c851a8-140e-452e-bcc8-fd47b48eb897', NULL, 'isSupervised', 'System.Boolean', '0', '1', '0', '6', '0', '10')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'isSupervised', [DataType] = 'System.Boolean', [IsHidden] = '0', [ApiVersion] = '1', [Relation] = '0', [ResourceSourceType] = '6', [ApplicableFilters] = '0', [GraphSourceId] = '10' WHERE [Id] = '81c851a8-140e-452e-bcc8-fd47b48eb897'

IF NOT EXISTS (SELECT [Id] FROM [asc].[SourceProperty] WHERE [Id] = '7f5b7f23-8344-40c1-9843-fe900b6f1d69')
INSERT [asc].[SourceProperty] ([Id], [ParentPropertyId], [Name], [DataType], [IsHidden], [ApiVersion], [Relation], [ResourceSourceType], [ApplicableFilters], [GraphSourceId]) VALUES ('7f5b7f23-8344-40c1-9843-fe900b6f1d69', NULL, 'advancedBitLockerStates', 'System.String', '1', '2', '1', '7', '0', '11')
ELSE
UPDATE [asc].[SourceProperty] SET [ParentPropertyId] = NULL, [Name] = 'advancedBitLockerStates', [DataType] = 'System.String', [IsHidden] = '1', [ApiVersion] = '2', [Relation] = '1', [ResourceSourceType] = '7', [ApplicableFilters] = '0', [GraphSourceId] = '11' WHERE [Id] = '7f5b7f23-8344-40c1-9843-fe900b6f1d69'

GO

ALTER TABLE [asc].[SourceProperty] ALTER COLUMN [ApplicableFilters] INT NOT NULL;

GO

CREATE UNIQUE NONCLUSTERED INDEX [IX_SourceProperty_Name_ResourceSourceType] ON [asc].[SourceProperty]
(
[Name] ASC,
[ResourceSourceType] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
GO

 

5. Resource Template
DELETE FROM [asc].[ResourceTemplate] WHERE [IsCustom] = 0

DBCC CHECKIDENT ('asc.ResourceTemplate', RESEED, 0)

GO

SET IDENTITY_INSERT [asc].[ResourceTemplate] ON 

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (1, N'User Licenses', N'{
  "Name": "User Licenses",
  "NodeTemplate": {
    "Name": "User Licenses",
    "SourceId": 9,
    "TableName": "License",
    "ViewName": "vLicense",
    "Columns": [
      {
        "Name": "skuId",
        "SourceProperty": "skuId"
      },
      {
        "Name": "skuPartNumber",
        "SourceProperty": "skuPartNumber"
      },
      {
        "Name": "appliesTo",
        "SourceProperty": "appliesTo"
      },
      {
        "Name": "servicePlanName",
        "SourceProperty": "servicePlanName"
      },
      {
        "Name": "provisioningStatus",
        "SourceProperty": "provisioningStatus"
      }
    ],
    "Dependency": {
      "Name": "Users",
      "SourceId": 4,
      "TableName": "User",
      "ViewName": "vUser",
      "Columns":[
         {
            "Name":"id",
            "SourceProperty":"id"
         },
         {
            "Name":"displayName",
            "SourceProperty":"displayName"
         },
         {
            "Name":"location",
            "SourceProperty":"officeLocation"
         },
         {
            "Name":"department",
            "SourceProperty":"department"
         },
         {
            "Name":"companyName",
            "SourceProperty":"companyName"
         },
         {
            "Name":"country",
            "SourceProperty":"country"
         },
         {
            "Name":"city",
            "SourceProperty":"city"
         },
         {
            "Name":"onPremisesSamAccountName",
            "SourceProperty":"onPremisesSamAccountName"
         }
      ],
      "Dependency": null,
      "DependencyColumn": null,
      "CustomViewName": null,
      "CustomViewSql": ""
    },
    "DependencyColumn": "id",
    "CustomViewName": "vUserLicense",
    "CustomViewSql": "SELECT  L.id userId,         L.displayName,         L.location,         L.skuId,         D.name sku,         L.skuPartNumber,         L.appliesTo,         L.servicePlanName,         L.provisioningStatus FROM    vLicense L         LEFT JOIN LicenseDescription D                 ON      L.skuId = D.skuId"
  }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (2, N'Users', N'{
  "Name": "Users",
  "NodeTemplate": {
      "Name": "Users",
      "SourceId": 4,
      "TableName": "User",
      "ViewName": "vUser",
      "Columns":[
         {
            "Name":"id",
            "SourceProperty":"id"
         },
         {
            "Name":"displayName",
            "SourceProperty":"displayName"
         },
         {
            "Name":"location",
            "SourceProperty":"officeLocation"
         },
         {
            "Name":"department",
            "SourceProperty":"department"
         },
         {
            "Name":"companyName",
            "SourceProperty":"companyName"
         },
         {
            "Name":"country",
            "SourceProperty":"country"
         },
         {
            "Name":"city",
            "SourceProperty":"city"
         },
         {
            "Name":"onPremisesSamAccountName",
            "SourceProperty":"onPremisesSamAccountName"
         }
      ],
  "CustomViewName": null,
  "CustomViewSql": null,
      "Dependency": null,
  "DependencyColumn" : null
    }

  
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (3, N'Groups', N'{
  "Name": "Groups",
  "NodeTemplate": {
      "Name": "Groups",
      "SourceId": 6,
      "TableName": "Group",
      "ViewName": "vGroup",
      "Columns":[
         {
            "Name":"id",
            "SourceProperty":"id"
         },
         {
            "Name":"displayName",
            "SourceProperty":"displayName"
         },
         {
            "Name":"description",
            "SourceProperty":"description"
         },
         {
            "Name":"membershipRule",
            "SourceProperty":"membershipRule"
         },
         {
            "Name":"onPremisesDomainName",
            "SourceProperty":"onPremisesDomainName"
         },
         {
            "Name":"classification",
            "SourceProperty":"classification"
         },
         {
            "Name":"onPremisesSamAccountName",
            "SourceProperty":"onPremisesSamAccountName"
         }
      ],
  "CustomViewName": null,
      "CustomViewSql": null,
      "Dependency": null,
  "DependencyColumn" : null
    }  
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (4, N'Devices', N'{
  "Name": "Devices",
  "NodeTemplate": {
      "Name": "Devices",
      "SourceId": 7,
      "TableName": "Device",
      "ViewName": "vDevice",
      "Columns":[
         {
            "Name":"id",
            "SourceProperty":"id"
         },
         {
            "Name":"displayName",
            "SourceProperty":"displayName"
         },
         {
            "Name":"domainName",
            "SourceProperty":"domainName"
         },
         {
            "Name":"deviceVersion",
            "SourceProperty":"deviceVersion"
         },
         {
            "Name":"manufacturer",
            "SourceProperty":"manufacturer"
         },
         {
            "Name":"model",
            "SourceProperty":"model"
         },
         {
            "Name":"deviceId",
            "SourceProperty":"deviceId"
         },
         {
            "Name":"operatingSystem",
            "SourceProperty":"operatingSystem"
         },
         {
            "Name":"operatingSystemVersion",
            "SourceProperty":"operatingSystemVersion"
         }
      ],
  "CustomViewName": null,
      "CustomViewSql": null,
      "Dependency": null,
  "DependencyColumn" : null
    }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (5, N'Organization', N'{
  "Name": "Organization",
  "NodeTemplate": {
      "Name": "Organization",
      "SourceId": 8,
      "TableName": "Organization",
      "ViewName": "vOrganization",
      "Columns": [
        {
          "Name": "id",
          "SourceProperty": "id"
        },
        {
          "Name": "displayName",
          "SourceProperty": "displayName"
        }
      ],
  "CustomViewName": null,
      "CustomViewSql": null,
      "Dependency": null,
  "DependencyColumn" : null
    }  
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (6, N'Managed Device Encryption State', N'{"Name":"Managed Device Encryption State","NodeTemplate":{"Name":"Managed Device Encryption State","SourceId":11,"TableName":"ManagedDeviceEncryptionState","ViewName":"vManagedDeviceEncryptionState","Columns":[{"Name":"deviceName","SourceProperty":"deviceName"},{"Name":"advancedBitLockerStates","SourceProperty":"advancedBitLockerStates"},{"Name":"deviceType","SourceProperty":"deviceType"},{"Name":"encryptionPolicySettingState","SourceProperty":"encryptionPolicySettingState"},{"Name":"encryptionReadinessState","SourceProperty":"encryptionReadinessState"},{"Name":"encryptionState","SourceProperty":"encryptionState"},{"Name":"userPrincipalName","SourceProperty":"userPrincipalName"},{"Name":"tpmSpecificationVersion","SourceProperty":"tpmSpecificationVersion"},{"Name":"osVersion","SourceProperty":"osVersion"}],"Dependency":null,"DependencyColumn":null,"CustomViewName": null,"CustomViewSql":null}}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (7, N'Managed Devices', N'{
   "Name":"Managed Devices",
   "NodeTemplate":{
      "Name":"Managed Devices",
      "SourceId":10,
      "TableName":"ManagedDevices",
      "ViewName":"vManagedDevices",
      "Columns":[
         {
            "Name":"id",
            "SourceProperty":"id"
         },
         {
            "Name":"userId",
            "SourceProperty":"userId"
         },
         {
            "Name":"deviceName",
            "SourceProperty":"deviceName"
         }
      ],
      "Dependency":null,
      "DependencyColumn":null,
      "CustomViewName":null,
      "CustomViewSql":null
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (3007, N'Groups with Licenses', N'{
  "Name": "Groups with Licenses",
  "NodeTemplate": {
      "Name": "Groups with Licenses",
      "SourceId": 12,
      "TableName": "GroupWithLicense",
      "ViewName": "vGroupWithLicense",
      "Columns": [
        {
          "Name": "id",
          "SourceProperty": "id"
        },
        {
          "Name": "displayName",
          "SourceProperty": "displayName"
        },
        {
           "Name":"skuId",
           "SourceProperty":"skuId"
        },
        {
           "Name":"description",
           "SourceProperty":"description"
        }
      ],
      "Dependency": null,
      "DependencyColumn" : null,
      "CustomViewName":"vLicenseGroup",
      "CustomViewSql":"SELECT  GwL.[id] groupId ,         Gwl.[displayName] groupName ,         GwL.[skuId] ,         LD.[name] license FROM    [dbo].[DBO].[vGroupWithLicense] GwL         LEFT JOIN [DBO].[LicenseDescription] LD                 ON      Gwl.skuId = LD.skuId"
    }  
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (3008, N'Groups with Licenses User', N'{
   "Name":"Groups with Licenses User",
   "NodeTemplate":{
      "Name":"Groups with Licenses User",
      "SourceId":13,
      "TableName":"GroupWithLicenseUser",
      "ViewName":"vGroupWithLicenseUser",
      "Columns":[
         {
            "Name":"id",
            "SourceProperty":"id"
         },
         {
            "Name":"displayName",
            "SourceProperty":"displayName"
         },
         {
            "Name":"companyName",
            "SourceProperty":"companyName"
         }
      ],
      "Dependency":{
         "Name":"Groups with Licenses",
         "SourceId":12,
         "TableName":"GroupWithLicense",
         "ViewName":"vGroupWithLicense",
      "Columns": [
        {
          "Name": "id",
          "SourceProperty": "id"
        },
        {
          "Name": "displayName",
          "SourceProperty": "displayName"
        },
        {
           "Name":"skuId",
           "SourceProperty":"skuId"
        },
        {
           "Name":"description",
           "SourceProperty":"description"
        }
      ],
         "Dependency":null,
         "DependencyColumn":null,
         "CustomViewName":"vLicenseGroup",
         "CustomViewSql":"SELECT  GwL.[id] groupId ,         Gwl.[displayName] groupName ,         GwL.[skuId] ,         LD.[name] license FROM    [DBO].[vGroupWithLicense] GwL         LEFT JOIN [DBO].[LicenseDescription] LD                 ON      Gwl.skuId = LD.skuId"
      },
      "DependencyColumn":"id",
      "CustomViewName":"vLicenseGroupUser",
      "CustomViewSql":"SELECT  GwLU.[GroupWithLicense_id] groupId ,         GwLU.[GroupWithLicense_displayName] groupName ,         GwLU.[skuId] ,         LD.[name] license, GwLU.[GroupWithLicenseUser_id] userId, GwLU.[GroupWithLicenseUser_displayName] userName FROM    [DBO].[vGroupWithLicenseUser] GwLU         LEFT JOIN [DBO].[LicenseDescription] LD                 ON      GwLU.skuId = LD.skuId"
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (4007, N'Device Configurations', N'{
   "Name":"Device Configurations",
   "IsCustom":false,
   "NodeTemplate":{
      "Name":"Device Configurations",
      "SourceId":14,
      "TableName":"DeviceConfiguration",
      "ViewName":"vDeviceConfiguration",
      "Columns": [
            {
              "Name": "id",
              "SourceProperty": "id"
            },
            {
              "Name": "displayName",
              "SourceProperty": "displayName"
            }
          ],
      "Dependency":null,
      "DependencyColumn":null,
      "CustomViewName":null,
      "CustomViewSql":null
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (4008, N'Device Configuration Group Assignments', N'{
   "Name":"Device Configuration Group Assignments",
   "NodeTemplate":{
      "Name":"Device Configuration Group Assignments",
      "SourceId":15,
      "TableName":"DeviceConfigurationGroupAssignment",
      "ViewName":"vDeviceConfigurationGroupAssignment",
      "Columns":[
         {
            "Name":"id",
            "SourceProperty":"id"
         },
         {
            "Name":"targetGroupId",
            "SourceProperty":"targetGroupId"
         },
         {
            "Name":"excludeGroup",
            "SourceProperty":"excludeGroup"
         }
      ],
      "Dependency":{
         "Name":"Device Configurations",
         "SourceId":14,
         "TableName":"DeviceConfiguration",
         "ViewName":"vDeviceConfiguration",
         "Columns":[
            {
               "Name":"id",
               "SourceProperty":"id"
            },
            {
               "Name":"displayName",
               "SourceProperty":"displayName"
            }
         ],
         "Dependency":{
            "Name":"Groups",
            "SourceId":6,
            "TableName":"Group",
            "ViewName":"vGroup",
            "Columns":[
               {
                  "Name":"id",
                  "SourceProperty":"id"
               },
               {
                  "Name":"displayName",
                  "SourceProperty":"displayName"
               }
            ],
            "Dependency":null,
            "DependencyColumn":null,
            "CustomViewName":null,
            "CustomViewSql":null
         },
         "DependencyColumn":null,
         "CustomViewName":null,
         "CustomViewSql":null
      },
      "DependencyColumn":"id",
      "CustomViewName":"vConfigurationSettingsWithIncludeExcludeGroups",
      "CustomViewSql":"WITH groupsexclude      AS (SELECT DC.[id]          [ConfigurationId],                 DC.[displayname] [ConfigurationName],                 G.[id]           [GroupId],                 G.[displayname]  [GroupName],                 ''Exclude''        [Action]          FROM   [DeviceConfigurationGroupAssignment] DCGA                 INNER JOIN [vDeviceConfiguration] DC                         ON DCGA.[deviceconfiguration_id] = DC.[id]                 INNER JOIN [vgroup] G                         ON DCGA.[targetgroupid] = G.[id]          WHERE  DCGA.[excludegroup] = 1),      groupsinclude      AS (SELECT DC.[id]          [ConfigurationId],                 DC.[displayname] [ConfigurationName],                 G.[id]           [GroupId],                 G.[displayname]  [GroupName],                 ''Include''        [Action]          FROM   [DeviceConfigurationGroupAssignment] DCGA                 INNER JOIN [vDeviceConfiguration] DC                         ON DCGA.[deviceconfiguration_id] = DC.[id]                 INNER JOIN [vgroup] G                         ON DCGA.[targetgroupid] = G.[id]          WHERE  DCGA.[excludegroup] = 0)  SELECT * FROM   [groupsinclude] UNION ALL SELECT * FROM   [groupsexclude]"     
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (4009, N'Settings', N'{
   "Name":"Settings",
   "NodeTemplate":{
      "Name":"Settings",
      "SourceId":16,
      "TableName":"SharePointSettings",
      "ViewName":"vSharePointSettings",
      "Columns":[
         
      ],
      "CustomViewName":null,
      "CustomViewSql":null,
      "Dependency":null,
      "DependencyColumn":null
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (4010, N'Settings Sharing Allowed Domains', N'{
   "Name":"Settings Sharing Allowed Domains",
   "NodeTemplate":{
      "Name":"Settings Sharing Allowed Domains",
      "SourceId":17,
      "TableName":"SharePointSettingsSharingAllowedDomains",
      "ViewName":"vSharePointSettingsSharingAllowedDomains",
      "Columns":[
         {
            "Name":"domain",
            "SourceProperty":"domain"
         }
      ],
      "CustomViewName":null,
      "CustomViewSql":null,
      "Dependency":null,
      "DependencyColumn":null
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (4011, N'Settings Sharing Blocked Domains', N'{
   "Name":"Settings Sharing Blocked Domains",
   "NodeTemplate":{
      "Name":"Settings Sharing Blocked Domains",
      "SourceId":18,
      "TableName":"SharePointSettingsSharingBlockedDomains",
      "ViewName":"vSharePointSettingsSharingBlockedDomains",
      "Columns":[
         {
            "Name":"domain",
            "SourceProperty":"domain"
         }
      ],
      "CustomViewName":null,
      "CustomViewSql":null,
      "Dependency":null,
      "DependencyColumn":null
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (4012, N'Settings Excluded File Extensions For Sync App', N'{
   "Name":"Settings Excluded File Extensions For Sync App",
   "NodeTemplate":{
      "Name":"Settings Excluded File Extensions For Sync App",
      "SourceId":19,
      "TableName":"SharePointSettingsExcludedFileExtensionsForSyncApp",
      "ViewName":"vSharePointSettingsExcludedFileExtensionsForSyncApp",
      "Columns":[
         {
            "Name":"extension",
            "SourceProperty":"extension"
         }
      ],
      "CustomViewName":null,
      "CustomViewSql":null,
      "Dependency":null,
      "DependencyColumn":null
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (4013, N'Settings Available Managed Paths For Site Creation', N'{
   "Name":"Settings Available Managed Paths For Site Creation",
   "NodeTemplate":{
      "Name":"Settings Available Managed Paths For Site Creation",
      "SourceId":20,
      "TableName":"SharePointSettingsAvailableManagedPathsForSiteCreation",
      "ViewName":"vSharePointSettingsAvailableManagedPathsForSiteCreation",
      "Columns":[
         {
            "Name":"path",
            "SourceProperty":"path"
         }
      ],
      "CustomViewName":null,
      "CustomViewSql":null,
      "Dependency":null,
      "DependencyColumn":null
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (4014, N'Settings Allowed Domain Guids For Sync App', N'{
   "Name":"Settings Allowed Domain Guids For Sync App",
   "NodeTemplate":{
      "Name":"Settings Allowed Domain Guids For Sync App",
      "SourceId":21,
      "TableName":"SharePointSettingsAllowedDomainGuidsForSyncApp",
      "ViewName":"vSharePointSettingsAllowedDomainGuidsForSyncApp",
      "Columns":[
         {
            "Name":"domainGuid",
            "SourceProperty":"domainGuid"
         }
      ],
      "CustomViewName":null,
      "CustomViewSql":null,
      "Dependency":null,
      "DependencyColumn":null
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (5012, N'Teams', N'{
  "Name": "Teams",
  "NodeTemplate": {
      "Name": "Teams",
      "SourceId": 23,
      "TableName": "TeamsTeams",
      "ViewName": "vTeamsTeams",
      "Columns": [
        {
          "Name": "id",
          "SourceProperty": "id"
        },
        {
          "Name": "displayName",
          "SourceProperty": "displayName"
        },
        {
          "Name": "description",
          "SourceProperty": "description"
        }
      ],
  "CustomViewName": null,
      "CustomViewSql": null,
      "Dependency": null,
  "DependencyColumn" : null
    }  
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (5013, N'Team Channels', N'{
   "Name":"Team Channels",
   "NodeTemplate":{
      "Name":"Team Channels",
      "SourceId":24,
      "TableName":"TeamsTeamChannels",
      "ViewName":"vTeamsTeamChannels",
      "Columns":[
         {
            "Name":"id",
            "SourceProperty":"id"
         },
         {
            "Name":"displayName",
            "SourceProperty":"displayName"
         },
         {
            "Name":"description",
            "SourceProperty":"description"
         }
      ],
      "Dependency":{
         "Name": "Teams",
  "SourceId": 23,
  "TableName": "TeamsTeams",
  "ViewName": "vTeamsTeams",
  "Columns": [
{
  "Name": "id",
  "SourceProperty": "id"
},
{
  "Name": "displayName",
  "SourceProperty": "displayName"
},
{
  "Name": "description",
  "SourceProperty": "description"
}
  ],
  "CustomViewName": null,
  "CustomViewSql": null,
  "Dependency": null,
  "DependencyColumn" : null
      },
      "DependencyColumn":"id",
      "CustomViewName": "vTeamsWithChannels",
      "CustomViewSql": "SELECT [TeamsTeams_displayName] [teamName]      ,[TeamsTeams_description] [teamDescription]      ,[TeamsTeamChannels_displayName] [channelName]      ,[TeamsTeamChannels_description] [channelDescription]  FROM [dbo].[vTeamsTeamChannels]"
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (5014, N'Team Members', N'{
   "Name":"Team Members",
   "NodeTemplate":{
      "Name":"Team Members",
      "SourceId":25,
      "TableName":"TeamsTeamMembers",
      "ViewName":"vTeamsTeamMembers",
      "Columns":[
         {
            "Name":"id",
            "SourceProperty":"id"
         },
         {
            "Name":"displayName",
            "SourceProperty":"displayName"
         },
         {
            "Name":"userPrincipalName",
            "SourceProperty":"userPrincipalName"
         }
      ],
      "Dependency":{
         "Name": "Teams",
  "SourceId": 23,
  "TableName": "TeamsTeams",
  "ViewName": "vTeamsTeams",
  "Columns": [
{
  "Name": "id",
  "SourceProperty": "id"
},
{
  "Name": "displayName",
  "SourceProperty": "displayName"
},
{
  "Name": "description",
  "SourceProperty": "description"
}
  ],
  "CustomViewName": null,
  "CustomViewSql": null,
  "Dependency": null,
  "DependencyColumn" : null
      },
      "DependencyColumn":"id",
      "CustomViewName": "vTeamsTeamsWithMembers",
      "CustomViewSql": "SELECT [TeamsTeams_displayName] [teamName]      ,[description] [teamDescription]      ,[TeamsTeamMembers_displayName] [userDisplayName]      ,[userPrincipalName]  FROM [dbo].[vTeamsTeamMembers]"
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (5015, N'Pstn Calls', N'{
  "Name": "Pstn Calls",
  "NodeTemplate": {
      "Name": "Pstn Calls",
      "SourceId": 22,
      "TableName": "TeamsPstnCalls",
      "ViewName": "vTeamsPstnCalls",
      "Columns": [
        {
          "Name": "id",
          "SourceProperty": "id"
        },
        {
          "Name": "callId",
          "SourceProperty": "callId"
        },
        {
          "Name": "userId",
          "SourceProperty": "userId"
        },
{
          "Name": "userPrincipalName",
          "SourceProperty": "userPrincipalName"
        },
        {
          "Name": "userDisplayName",
          "SourceProperty": "userDisplayName"
        },
        {
          "Name": "startDateTime",
          "SourceProperty": "startDateTime"
        },
{
          "Name": "endDateTime",
          "SourceProperty": "endDateTime"
        },
        {
          "Name": "duration",
          "SourceProperty": "duration"
        },
        {
          "Name": "calleeNumber",
          "SourceProperty": "calleeNumber"
        },
        {
          "Name": "callerNumber",
          "SourceProperty": "callerNumber"
        }
      ],
  "CustomViewName": null,
      "CustomViewSql": null,
      "Dependency": null,
  "DependencyColumn" : null,
  "TimePeriodDays":2
    }  
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (5016, N'User Activity', N'{
   "Name":"User Activity",
   "NodeTemplate":{
      "Name":"User Activity",
      "SourceId":26,
      "TableName":"TeamsUserActivity",
      "ViewName":"vTeamsUserActivity",
      "Columns":[
         {
            "Name":"userId",
            "SourceProperty":"User Id"
         },
         {
            "Name":"userPrincipalName",
            "SourceProperty":"User Principal Name"
         },
         {
            "Name":"sharedChannelTenantDisplayNames",
            "SourceProperty":"Shared Channel Tenant Display Names"
         },
         {
            "Name":"channelMessages",
            "SourceProperty":"Team Chat Message Count"
         },
         {
            "Name":"posts",
            "SourceProperty":"Post Messages"
         },
         {
            "Name":"replies",
            "SourceProperty":"Reply Messages"
         },
         {
            "Name":"urgentMessages",
            "SourceProperty":"Urgent Messages"
         },
         {
            "Name":"chatMessages",
            "SourceProperty":"Private Chat Message Count"
         },
         {
            "Name":"oneToOneCalls",
            "SourceProperty":"Call Count"
         },
         {
            "Name":"totalMeetings",
            "SourceProperty":"Meeting Count"
         },
         {
            "Name":"totalOrganizedMeetings",
            "SourceProperty":"Meetings Organized Count"
         },
         {
            "Name":"totalParticipatedMeetings",
            "SourceProperty":"Meetings Attended Count"
         },
         {
            "Name":"meetingsOrganizedAdHoc",
            "SourceProperty":"Ad Hoc Meetings Organized Count"
         },
         {
            "Name":"meetingsParticipatedAdHoc",
            "SourceProperty":"Ad Hoc Meetings Attended Count"
         },
         {
            "Name":"meetingsOrganizedScheduledOneTime",
            "SourceProperty":"Scheduled One-time Meetings Organized Count"
         },
         {
            "Name":"meetingsParticipatedScheduledOneTime",
            "SourceProperty":"Scheduled One-time Meetings Attended Count"
         },
         {
            "Name":"meetingsOrganizedScheduledRecurring",
            "SourceProperty":"Scheduled Recurring Meetings Organized Count"
         },
         {
            "Name":"meetingsParticipatedScheduledRecurring",
            "SourceProperty":"Scheduled Recurring Meetings Attended Count"
         },
         {
            "Name":"audioTimeSeconds",
            "SourceProperty":"Audio Duration In Seconds"
         },
         {
            "Name":"videoTimeSeconds",
            "SourceProperty":"Video Duration In Seconds"
         },
         {
            "Name":"screenShareTimeSeconds",
            "SourceProperty":"Screen Share Duration In Seconds"
         },
         {
            "Name":"otherActivity",
            "SourceProperty":"Has Other Action"
         },
         {
            "Name":"lastActivityDateUTC",
            "SourceProperty":"Last Activity Date"
         }
      ],
      "Dependency":null,
      "DependencyColumn":null,
      "CustomViewName":null,
      "CustomViewSql":null,
      "TimePeriodDays":2
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (5017, N'Team Activity', N'{
   "Name":"Team Activity",
   "NodeTemplate":{
      "Name":"Team Activity",
      "SourceId":27,
      "TableName":"TeamsTeamActivity",
      "ViewName":"vTeamsTeamActivity",
      "Columns":[
         {
            "Name":"teamName",
            "SourceProperty":"Team Name"
         },
         {
            "Name":"internalActiveUsers",
            "SourceProperty":"Active Users"
         },
         {
            "Name":"activeGuests",
            "SourceProperty":"Guests"
         },
         {
            "Name":"externalActiveUsers",
            "SourceProperty":"Active External Users"
         },
         {
            "Name":"activeChannels",
            "SourceProperty":"Active Channels"
         },
         {
            "Name":"activeSharedChannels",
            "SourceProperty":"Active Shared Channels"
         },
         {
            "Name":"totalOrganizedMeetings",
            "SourceProperty":"Meetings Organized"
         },
         {
            "Name":"posts",
            "SourceProperty":"Post Messages"
         },
         {
            "Name":"replies",
            "SourceProperty":"Reply Messages"
         },
         {
            "Name":"mentions",
            "SourceProperty":"Mentions"
         },
         {
            "Name":"reactions",
            "SourceProperty":"Reactions"
         },
         {
            "Name":"urgentMessages",
            "SourceProperty":"Urgent Messages"
         },
         {
            "Name":"channelMessages",
            "SourceProperty":"Channel Messages"
         },
         {
            "Name":"type",
            "SourceProperty":"Team Type"
         },
         {
            "Name":"lastActivityDateUTC",
            "SourceProperty":"Last Activity Date"
         }
      ],
      "Dependency":null,
      "DependencyColumn":null,
      "CustomViewName":null,
      "CustomViewSql":null,
      "TimePeriodDays":2
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (5018, N'Device Usage', N'{
   "Name":"Device Usage",
   "NodeTemplate":{
      "Name":"Device Usage",
      "SourceId":28,
      "TableName":"TeamsDeviceUsage",
      "ViewName":"vTeamsDeviceUsage",
      "Columns":[
         {
            "Name":"userId",
            "SourceProperty":"User Id"
         },
         {
            "Name":"userPrincipalName",
            "SourceProperty":"User Principal Name"
         },
         {
            "Name":"windows",
            "SourceProperty":"Used Windows"
         },
         {
            "Name":"mac",
            "SourceProperty":"Used Mac"
         },
         {
            "Name":"web",
            "SourceProperty":"Used Web"
         },
         {
            "Name":"iOS",
            "SourceProperty":"Used iOS"
         },
         {
            "Name":"androidPhone",
            "SourceProperty":"Used Android Phone"
         },
         {
            "Name":"chhromeOS",
            "SourceProperty":"Used  Chrome OS"
         },
         {
            "Name":"linux",
            "SourceProperty":"Used Linux"
         },
         {
            "Name":"lastActivityDateUTC",
            "SourceProperty":"Last Activity Date"
         },
         {
            "Name":"reportRefreshDate",
            "SourceProperty":"Report Refresh Date"
         }
      ],
      "Dependency":null,
      "DependencyColumn":null,
      "CustomViewName":null,
      "CustomViewSql":null,
      "TimePeriodDays":2
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (5019, N'App Usage', N'{
   "Name":"App Usage",
   "NodeTemplate":{
      "Name":"App Usage",
      "SourceId":29,
      "TableName":"M365AppUsage",
      "ViewName":"vM365AppUsage",
      "Columns":[
         {
            "Name":"userPrincipalName",
            "SourceProperty":"User Principal Name"
         },
         {
            "Name":"windows",
            "SourceProperty":"Windows"
         },
         {
            "Name":"mac",
            "SourceProperty":"Mac"
         },
         {
            "Name":"mobile",
            "SourceProperty":"Mobile"
         },
         {
            "Name":"web",
            "SourceProperty":"Web"
         },
         {
            "Name":"outlook",
            "SourceProperty":"Outlook"
         },
         {
            "Name":"word",
            "SourceProperty":"Word"
         },
         {
            "Name":"excel",
            "SourceProperty":"Excel"
         },
         {
            "Name":"powerPoint",
            "SourceProperty":"PowerPoint"
         },
         {
            "Name":"teams",
            "SourceProperty":"Teams"
         },
         {
            "Name":"oneNote",
            "SourceProperty":"OneNote"
         },
         {
            "Name":"outlookWindows",
            "SourceProperty":"Outlook (Windows)"
         },
         {
            "Name":"wordWindows",
            "SourceProperty":"Word (Windows)"
         },
         {
            "Name":"excelWindows",
            "SourceProperty":"Excel (Windows)"
         },
         {
            "Name":"powerPointWindows",
            "SourceProperty":"PowerPoint (Windows)"
         },
         {
            "Name":"oneNoteWindows",
            "SourceProperty":"OneNote (Windows)"
         },
         {
            "Name":"teamsWindows",
            "SourceProperty":"Teams (Windows)"
         },
         {
            "Name":"outlookMac",
            "SourceProperty":"Outlook (Mac)"
         },
         {
            "Name":"wordMac",
            "SourceProperty":"Word (Mac)"
         },
         {
            "Name":"excelMac",
            "SourceProperty":"Excel (Mac)"
         },
         {
            "Name":"powerPointMac",
            "SourceProperty":"PowerPoint (Mac)"
         },
         {
            "Name":"oneNoteMac",
            "SourceProperty":"OneNote (Mac)"
         },
         {
            "Name":"teamsMac",
            "SourceProperty":"Teams (Mac)"
         },
         {
            "Name":"outlookMobile",
            "SourceProperty":"Outlook (Mobile)"
         },
         {
            "Name":"wordMobile",
            "SourceProperty":"Word (Mobile)"
         },
         {
            "Name":"excelMobile",
            "SourceProperty":"Excel (Mobile)"
         },
         {
            "Name":"powerPointMobile",
            "SourceProperty":"PowerPoint (Mobile)"
         },
         {
            "Name":"oneNoteMobile",
            "SourceProperty":"OneNote (Mobile)"
         },
         {
            "Name":"teamsMobile",
            "SourceProperty":"Teams (Mobile)"
         },
         {
            "Name":"outlookWeb",
            "SourceProperty":"Outlook (Web)"
         },
         {
            "Name":"wordWeb",
            "SourceProperty":"Word (Web)"
         },
         {
            "Name":"excelWeb",
            "SourceProperty":"Excel (Web)"
         },
         {
            "Name":"powerPointWeb",
            "SourceProperty":"PowerPoint (Web)"
         },
         {
            "Name":"oneNoteWeb",
            "SourceProperty":"OneNote (Web)"
         },
         {
            "Name":"teamsWeb",
            "SourceProperty":"Teams (Web)"
         },
         {
            "Name":"lastActivityDate",
            "SourceProperty":"Last Activity Date"
         },
         {
            "Name":"reportPeriod",
            "SourceProperty":"Report Period"
         },
         {
            "Name":"reportRefreshDate",
            "SourceProperty":"Report Refresh Date"
         }
      ],
      "Dependency":null,
      "DependencyColumn":null,
      "CustomViewName":null,
      "CustomViewSql":null,
      "TimePeriodDays":2
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (5020, N'Activations', N'{
   "Name":"Activations",
   "NodeTemplate":{
      "Name":"Activations",
      "SourceId":30,
      "TableName":"M365Activations",
      "ViewName":"vM365Activations",
      "Columns":[
         {
            "Name":"userPrincipalName",
            "SourceProperty":"User Principal Name"
         },
         {
            "Name":"displayName",
            "SourceProperty":"Display Name"
         },
         {
            "Name":"productType",
            "SourceProperty":"Product Type"
         },
         {
            "Name":"lastActivatedDate",
            "SourceProperty":"Last Activated Date"
         },
         {
            "Name":"windows",
            "SourceProperty":"Windows"
         },
         {
            "Name":"mac",
            "SourceProperty":"Mac"
         },
         {
            "Name":"windows10Mobile",
            "SourceProperty":"Windows 10 Mobile"
         },
         {
            "Name":"iOS",
            "SourceProperty":"iOS"
         },
         {
            "Name":"android",
            "SourceProperty":"Android"
         },
         {
            "Name":"activatedOnSharedComputer",
            "SourceProperty":"Activated On Shared Computer"
         },
         {
            "Name":"reportRefreshDate",
            "SourceProperty":"Report Refresh Date"
         }
      ],
      "Dependency":null,
      "DependencyColumn":null,
      "CustomViewName":null,
      "CustomViewSql":null
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (5021, N'Active Users', N'{
   "Name":"Active Users",
   "NodeTemplate":{
      "Name":"Active Users",
      "SourceId":31,
      "TableName":"M365ActiveUsers",
      "ViewName":"vM65ActiveUsers",
      "Columns":[
         {
            "Name":"userPrincipalName",
            "SourceProperty":"User Principal Name"
         },
         {
            "Name":"displayName",
            "SourceProperty":"Display Name"
         },
         {
            "Name":"hasExchangeLicense",
            "SourceProperty":"Has Exchange License"
         },
         {
            "Name":"hasOneDriveLicense",
            "SourceProperty":"Has OneDrive License"
         },
         {
            "Name":"hasSharePointLicense",
            "SourceProperty":"Has SharePoint License"
         },
         {
            "Name":"hasSkypeForBusinessLicense",
            "SourceProperty":"Has Skype For Business License"
         },
         {
            "Name":"hasYammerLicense",
            "SourceProperty":"Has Yammer License"
         },
         {
            "Name":"hasTeamsLicense",
            "SourceProperty":"Has Teams License"
         },
         {
            "Name":"exchangeLastActivityDate",
            "SourceProperty":"Exchange Last Activity Date"
         },
         {
            "Name":"oneDriveLastActivityDate",
            "SourceProperty":"OneDrive Last Activity Date"
         },
         {
            "Name":"sharePointLastActivityDate",
            "SourceProperty":"SharePoint Last Activity Date"
         },
         {
            "Name":"skypeForBusinessLastActivityDate",
            "SourceProperty":"Skype For Business Last Activity Date"
         },
         {
            "Name":"yammerLastActivityDate",
            "SourceProperty":"Yammer Last Activity Date"
         },
         {
            "Name":"teamsLastActivityDate",
            "SourceProperty":"Teams Last Activity Date"
         },
         {
            "Name":"exchangeLicenseAssignDate",
            "SourceProperty":"Exchange License Assign Date"
         },
         {
            "Name":"oneDriveLicenseAssignDate",
            "SourceProperty":"OneDrive License Assign Date"
         },
         {
            "Name":"sharePointLicenseAssignDate",
            "SourceProperty":"SharePoint License Assign Date"
         },
         {
            "Name":"skypeForBusinessLicenseAssignDate",
            "SourceProperty":"Skype For Business License Assign Date"
         },
         {
            "Name":"yammerLicenseAssignDate",
            "SourceProperty":"Yammer License Assign Date"
         },
         {
            "Name":"teamsLicenseAssignDate",
            "SourceProperty":"Teams License Assign Date"
         },
         {
            "Name":"assignedProducts",
            "SourceProperty":"Assigned Products"
         },
         {
            "Name":"reportRefreshDate",
            "SourceProperty":"Report Refresh Date"
         }
      ],
      "Dependency":null,
      "DependencyColumn":null,
      "CustomViewName":null,
      "CustomViewSql":null,
      "TimePeriodDays":2
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (5022, N'Groups Activity', N'{
   "Name":"Groups Activity",
   "NodeTemplate":{
      "Name":"Groups Activity",
      "SourceId":32,
      "TableName":"M365GroupsActivity",
      "ViewName":"vM365GroupsActivity",
      "Columns":[
         {
            "Name":"groupId",
            "SourceProperty":"Group Id"
         },
         {
            "Name":"groupDisplayName",
            "SourceProperty":"Group Display Name"
         },
         {
            "Name":"groupType",
            "SourceProperty":"Group Type"
         },
         {
            "Name":"ownerPrincipalName",
            "SourceProperty":"Owner Principal Name"
         },
         {
            "Name":"lastActivityDate",
            "SourceProperty":"Last Activity Date"
         },
         {
            "Name":"memberCount",
            "SourceProperty":"Member Count"
         },
         {
            "Name":"externalMemberCount",
            "SourceProperty":"External Member Count"
         },
         {
            "Name":"exchangeMailboxTotalItemCount",
            "SourceProperty":"Exchange Mailbox Total Item Count"
         },
         {
            "Name":"exchangeReceivedEmailCount",
            "SourceProperty":"Exchange Received Email Count"
         },
         {
            "Name":"exchangeMailboxStorageUsedByte",
            "SourceProperty":"Exchange Mailbox Storage Used (Byte)"
         },
         {
            "Name":"sharePointTotalFileCount",
            "SourceProperty":"SharePoint Total File Count"
         },
         {
            "Name":"sharePointActiveFileCount",
            "SourceProperty":"SharePoint Active File Count"
         },
         {
            "Name":"sharePointSiteStorageUsedByte",
            "SourceProperty":"SharePoint Site Storage Used (Byte)"
         },
         {
            "Name":"yammerReadMessageCount",
            "SourceProperty":"Yammer Read Message Count"
         },
         {
            "Name":"yammerPostedMessageCount",
            "SourceProperty":"Yammer Posted Message Count"
         },
         {
            "Name":"yammerLikedMessageCount",
            "SourceProperty":"Yammer Liked Message Count"
         },
         {
            "Name":"reportPeriod",
            "SourceProperty":"Report Period"
         },
         {
            "Name":"reportRefreshDate",
            "SourceProperty":"Report Refresh Date"
         }
      ],
      "Dependency":null,
      "DependencyColumn":null,
      "CustomViewName":null,
      "CustomViewSql":null,
      "TimePeriodDays":2
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (5023, N'Activity', N'{
   "Name":"Activity",
   "NodeTemplate":{
      "Name":"Activity",
      "SourceId":33,
      "TableName":"SharePointActivity",
      "ViewName":"vSharePointctivity",
      "Columns":[
         {
            "Name":"userPrincipalName",
            "SourceProperty":"User Principal Name"
         },
         {
            "Name":"lastActivityDate",
            "SourceProperty":"Last Activity Date"
         },
         {
            "Name":"viewedOrEditedFileCount",
            "SourceProperty":"Viewed Or Edited File Count"
         },
         {
            "Name":"syncedFileCount",
            "SourceProperty":"Synced File Count"
         },
         {
            "Name":"sharedInternallyFileCount",
            "SourceProperty":"Shared Internally File Count"
         },
         {
            "Name":"sharedExternallyFileCount",
            "SourceProperty":"Shared Externally File Count"
         },
         {
            "Name":"visitedPageCount",
            "SourceProperty":"Visited Page Count"
         },
         {
            "Name":"assignedProducts",
            "SourceProperty":"Assigned Products"
         },
         {
            "Name":"reportPeriod",
            "SourceProperty":"Report Period"
         },
         {
            "Name":"reportRefreshDate",
            "SourceProperty":"Report Refresh Date"
         }
      ],
      "Dependency":null,
      "DependencyColumn":null,
      "CustomViewName":null,
      "CustomViewSql":null,
      "TimePeriodDays":2
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (5024, N'Site Usage', N'{
   "Name":"Site Usage",
   "NodeTemplate":{
      "Name":"Site Usage",
      "SourceId":34,
      "TableName":"SharePointSiteUsage",
      "ViewName":"vSharePointSiteUsage",
      "Columns":[
         {
            "Name":"siteId",
            "SourceProperty":"Site Id"
         },
         {
            "Name":"siteUrl",
            "SourceProperty":"Site URL"
         },
         {
            "Name":"lastActivityDate",
            "SourceProperty":"Last Activity Date"
         },
         {
            "Name":"fileCount",
            "SourceProperty":"File Count"
         },
         {
            "Name":"activeFileCount",
            "SourceProperty":"Active File Count"
         },
         {
            "Name":"pageViewCount",
            "SourceProperty":"Page View Count"
         },
         {
            "Name":"visitedPageCount",
            "SourceProperty":"Visited Page Count"
         },
         {
            "Name":"storageUsedByte",
            "SourceProperty":"Storage Used (Byte)"
         },
         {
            "Name":"storageAllocatedByte",
            "SourceProperty":"Storage Allocated (Byte)"
         },
         {
            "Name":"rootWebTemplate",
            "SourceProperty":"Root Web Template"
         },
         {
            "Name":"ownerDisplayName",
            "SourceProperty":"Owner Display Name"
         },
         {
            "Name":"ownerPrincipalName",
            "SourceProperty":"Owner Principal Name"
         },
         {
            "Name":"reportPeriod",
            "SourceProperty":"Report Period"
         },
         {
            "Name":"reportRefreshDate",
            "SourceProperty":"Report Refresh Date"
         }
      ],
      "Dependency":null,
      "DependencyColumn":null,
      "CustomViewName":null,
      "CustomViewSql":null,
      "TimePeriodDays":2
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (5025, N'Activity', N'{
   "Name":"Activity",
   "NodeTemplate":{
      "Name":"Activity",
      "SourceId":35,
      "TableName":"OneDriveActivity",
      "ViewName":"vOneDriveActivity",
      "Columns":[
      ],
      "Dependency":null,
      "DependencyColumn":null,
      "CustomViewName":null,
      "CustomViewSql":null,
      "TimePeriodDays":2
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (5026, N'Usage', N'{
   "Name":"Usage",
   "NodeTemplate":{
      "Name":"Usage",
      "SourceId":36,
      "TableName":"OneDriveUsage",
      "ViewName":"vOneDriveUsage",
      "Columns":[
         {
            "Name":"ownerPrincipalName",
            "SourceProperty":"Owner Principal Name"
         },
         {
            "Name":"ownerDisplayName",
            "SourceProperty":"Owner Display Name"
         },
         {
            "Name":"siteUrl",
            "SourceProperty":"Site URL"
         },
         {
            "Name":"fileCount",
            "SourceProperty":"File Count"
         },
         {
            "Name":"activeFileCount",
            "SourceProperty":"Active File Count"
         },
         {
            "Name":"storageUsedByte",
            "SourceProperty":"Storage Used (Byte)"
         },
         {
            "Name":"storageAllocatedByte",
            "SourceProperty":"Storage Allocated (Byte)"
         },
         {
            "Name":"lastActivityDate",
            "SourceProperty":"Last Activity Date"
         },
         {
            "Name":"reportPeriod",
            "SourceProperty":"Report Period"
         },
         {
            "Name":"reportRefreshDate",
            "SourceProperty":"Report Refresh Date"
         }
      ],
      "Dependency":null,
      "DependencyColumn":null,
      "CustomViewName":null,
      "CustomViewSql":null,
      "TimePeriodDays":2
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (5027, N'Activity', N'{
   "Name":"Outlook Activity",
   "NodeTemplate":{
      "Name":"Outlook Activity",
      "SourceId":37,
      "TableName":"OnutlookActivity",
      "ViewName":"vOOnutlookActivity",
      "Columns":[
         {
            "Name":"userPrincipalName",
            "SourceProperty":"User Principal Name"
         },
         {
            "Name":"displayName",
            "SourceProperty":"Display Name"
         },
         {
            "Name":"lastActivityDate",
            "SourceProperty":"Last Activity Date"
         },
         {
            "Name":"sendCount",
            "SourceProperty":"Send Count"
         },
         {
            "Name":"receiveCount",
            "SourceProperty":"Receive Count"
         },
         {
            "Name":"readCount",
            "SourceProperty":"Read Count"
         },
         {
            "Name":"meetingCreatedCount",
            "SourceProperty":"Meeting Created Count"
         },
         {
            "Name":"meetingInteractedCount",
            "SourceProperty":"Meeting Interacted Count"
         },
         {
            "Name":"assignedProducts",
            "SourceProperty":"Assigned Products"
         },
         {
            "Name":"reportPeriod",
            "SourceProperty":"Report Period"
         },
         {
            "Name":"reportRefreshDate",
            "SourceProperty":"Report Refresh Date"
         }
      ],
      "Dependency":null,
      "DependencyColumn":null,
      "CustomViewName":null,
      "CustomViewSql":null,
      "TimePeriodDays":2
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (5028, N'App Usage', N'{
   "Name":"Outlook App Usage",
   "NodeTemplate":{
      "Name":"Outlook App Usage",
      "SourceId":38,
      "TableName":"OutlookAppUsage",
      "ViewName":"vOutlookAppUsage",
      "Columns":[
         {
            "Name":"userPrincipalName",
            "SourceProperty":"User Principal Name"
         },
         {
            "Name":"displayName",
            "SourceProperty":"Display Name"
         },
         {
            "Name":"lastActivityDate",
            "SourceProperty":"Last Activity Date"
         },
         {
            "Name":"outlookForWindows",
            "SourceProperty":"Outlook For Windows"
         },
         {
            "Name":"outlookForMobile",
            "SourceProperty":"Outlook For Mobile"
         },
         {
            "Name":"outlookForWeb",
            "SourceProperty":"Outlook For Web"
         },
         {
            "Name":"outlookForMac",
            "SourceProperty":"Outlook For Mac"
         },
         {
            "Name":"otherForMobile",
            "SourceProperty":"Other For Mobile"
         },
         {
            "Name":"mailForMac",
            "SourceProperty":"Mail For Mac"
         },
         {
            "Name":"pOP3App",
            "SourceProperty":"POP3 App"
         },
         {
            "Name":"iMAP4App",
            "SourceProperty":"IMAP4 App"
         },
         {
            "Name":"sMTPApp",
            "SourceProperty":"SMTP App"
         },
         {
            "Name":"reportPeriod",
            "SourceProperty":"Report Period"
         },
         {
            "Name":"reportRefreshDate",
            "SourceProperty":"Report Refresh Date"
         }
      ],
      "Dependency":null,
      "DependencyColumn":null,
      "CustomViewName":null,
      "CustomViewSql":null,
      "TimePeriodDays":2
   }
}', 0)

INSERT [asc].[ResourceTemplate] ([Id], [Name], [Json], [IsCustom]) VALUES (5029, N'Mailbox Usage', N'{
   "Name":"Mailbox Usage",
   "NodeTemplate":{
      "Name":"Mailbox Usage",
      "SourceId":39,
      "TableName":"OutlookMailboxUsage",
      "ViewName":"vOutlookMailboxUsage",
      "Columns":[
         {
            "Name":"userPrincipalName",
            "SourceProperty":"User Principal Name"
         },
         {
            "Name":"displayName",
            "SourceProperty":"Display Name"
         },
         {
            "Name":"lastActivityDate",
            "SourceProperty":"Last Activity Date"
         },
         {
            "Name":"itemCount",
            "SourceProperty":"Item Count"
         },
         {
            "Name":"storageUsed(Byte)",
            "SourceProperty":"Storage Used (Byte)"
         },
         {
            "Name":"issueWarningQuotaByte",
            "SourceProperty":"Issue Warning Quota (Byte)"
         },
         {
            "Name":"prohibitSendQuotaByte",
            "SourceProperty":"Prohibit Send Quota (Byte)"
         },
         {
            "Name":"prohibitSendReceiveQuotaByte",
            "SourceProperty":"Prohibit Send/Receive Quota (Byte)"
         },
         {
            "Name":"deletedItemCount",
            "SourceProperty":"Deleted Item Count"
         },
         {
            "Name":"deletedItemSizeByte",
            "SourceProperty":"Deleted Item Size (Byte)"
         },
         {
            "Name":"deletedItemQuotaByte",
            "SourceProperty":"Deleted Item Quota (Byte)"
         },
         {
            "Name":"hasArchive",
            "SourceProperty":"Has Archive"
         },
         {
            "Name":"reportPeriod",
            "SourceProperty":"Report Period"
         },
         {
            "Name":"reportRefreshDate",
            "SourceProperty":"Report Refresh Date"
         }
      ],
      "Dependency":null,
      "DependencyColumn":null,
      "CustomViewName":null,
      "CustomViewSql":null,
      "TimePeriodDays":2
   }
}', 0)

SET IDENTITY_INSERT [asc].[ResourceTemplate] OFF
6. License Description
IF NOT EXISTS(SELECT * FROM [__EFMigrationsHistory] WHERE [MigrationId] = N'20230222102941_initial')
BEGIN

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'c5928f49-12ba-48f7-ada3-0d743a3601d5')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('c5928f49-12ba-48f7-ada3-0d743a3601d5', 'VISIO Online Plan 2', 'VISIOCLIENT')
ELSE
UPDATE [LicenseDescription] SET [name] = 'VISIO Online Plan 2', [stringId] = 'VISIOCLIENT' WHERE [skuId] = 'c5928f49-12ba-48f7-ada3-0d743a3601d5'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '53818b1b-4a27-454b-8896-0dba576410e6')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('53818b1b-4a27-454b-8896-0dba576410e6', 'PROJECT ONLINE PROFESSIONAL', 'PROJECTPROFESSIONAL')
ELSE
UPDATE [LicenseDescription] SET [name] = 'PROJECT ONLINE PROFESSIONAL', [stringId] = 'PROJECTPROFESSIONAL' WHERE [skuId] = '53818b1b-4a27-454b-8896-0dba576410e6'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'dab7782a-93b1-4074-8bb1-0e61318bea0b')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('dab7782a-93b1-4074-8bb1-0e61318bea0b', 'MICROSOFT 365 BUSINESS BASIC', 'SMB_BUSINESS_ESSENTIALS')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT 365 BUSINESS BASIC', [stringId] = 'SMB_BUSINESS_ESSENTIALS' WHERE [skuId] = 'dab7782a-93b1-4074-8bb1-0e61318bea0b'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '7035277a-5e49-4abc-a24f-0ec49c501bb5')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('7035277a-5e49-4abc-a24f-0ec49c501bb5', 'MICROSOFT 365 PHONE SYSTEM FOR GCCHIGH', 'MCOEV_GCCHIGH')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT 365 PHONE SYSTEM FOR GCCHIGH', [stringId] = 'MCOEV_GCCHIGH' WHERE [skuId] = '7035277a-5e49-4abc-a24f-0ec49c501bb5'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'ba9a34de-4489-469d-879c-0f0f145321cd')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('ba9a34de-4489-469d-879c-0f0f145321cd', 'MS IMAGINE ACADEMY', 'IT_ACADEMY_AD')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MS IMAGINE ACADEMY', [stringId] = 'IT_ACADEMY_AD' WHERE [skuId] = 'ba9a34de-4489-469d-879c-0f0f145321cd'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '06ebc4ee-1bb5-47dd-8120-11324bc54e06')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('06ebc4ee-1bb5-47dd-8120-11324bc54e06', 'Microsoft 365 E5', 'SPE_E5')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Microsoft 365 E5', [stringId] = 'SPE_E5' WHERE [skuId] = '06ebc4ee-1bb5-47dd-8120-11324bc54e06'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '05e9a617-0261-4cee-bb44-138d3ef5d965')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('05e9a617-0261-4cee-bb44-138d3ef5d965', 'MICROSOFT 365 E3', 'SPE_E3')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT 365 E3', [stringId] = 'SPE_E3' WHERE [skuId] = '05e9a617-0261-4cee-bb44-138d3ef5d965'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'b17653a4-2443-4e8c-a550-18249dda78bb')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('b17653a4-2443-4e8c-a550-18249dda78bb', 'Microsoft 365 A1', 'M365EDU_A1')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Microsoft 365 A1', [stringId] = 'M365EDU_A1' WHERE [skuId] = 'b17653a4-2443-4e8c-a550-18249dda78bb'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '488ba24a-39a9-4473-8ee5-19291e71b002')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('488ba24a-39a9-4473-8ee5-19291e71b002', 'Windows 10 Enterprise E5', 'WIN10_VDA_E5')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Windows 10 Enterprise E5', [stringId] = 'WIN10_VDA_E5' WHERE [skuId] = '488ba24a-39a9-4473-8ee5-19291e71b002'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'f82a60b8-1ee3-4cfb-a4fe-1c6a53c2656c')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('f82a60b8-1ee3-4cfb-a4fe-1c6a53c2656c', 'PROJECT ONLINE WITH PROJECT FOR OFFICE 365', 'PROJECTONLINE_PLAN_2')
ELSE
UPDATE [LicenseDescription] SET [name] = 'PROJECT ONLINE WITH PROJECT FOR OFFICE 365', [stringId] = 'PROJECTONLINE_PLAN_2' WHERE [skuId] = 'f82a60b8-1ee3-4cfb-a4fe-1c6a53c2656c'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'c52ea49f-fe5d-4e95-93ba-1de91d380f89')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('c52ea49f-fe5d-4e95-93ba-1de91d380f89', 'AZURE INFORMATION PROTECTION PLAN 1', 'RIGHTSMANAGEMENT')
ELSE
UPDATE [LicenseDescription] SET [name] = 'AZURE INFORMATION PROTECTION PLAN 1', [stringId] = 'RIGHTSMANAGEMENT' WHERE [skuId] = 'c52ea49f-fe5d-4e95-93ba-1de91d380f89'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '6fd2c87f-b296-42f0-b197-1e91e994b900')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('6fd2c87f-b296-42f0-b197-1e91e994b900', 'OFFICE 365 E3', 'ENTERPRISEPACK')
ELSE
UPDATE [LicenseDescription] SET [name] = 'OFFICE 365 E3', [stringId] = 'ENTERPRISEPACK' WHERE [skuId] = '6fd2c87f-b296-42f0-b197-1e91e994b900'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '295a8eb0-f78d-45c7-8b5b-1eed5ed02dff')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('295a8eb0-f78d-45c7-8b5b-1eed5ed02dff', 'COMMON AREA PHONE', 'MCOCAP')
ELSE
UPDATE [LicenseDescription] SET [name] = 'COMMON AREA PHONE', [stringId] = 'MCOCAP' WHERE [skuId] = '295a8eb0-f78d-45c7-8b5b-1eed5ed02dff'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'f245ecc8-75af-4f8e-b61f-27d8114de5f3')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('f245ecc8-75af-4f8e-b61f-27d8114de5f3', 'MICROSOFT 365 BUSINESS STANDARD', 'O365_BUSINESS_PREMIUM')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT 365 BUSINESS STANDARD', [stringId] = 'O365_BUSINESS_PREMIUM' WHERE [skuId] = 'f245ecc8-75af-4f8e-b61f-27d8114de5f3'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '0c266dff-15dd-4b49-8397-2bb16070ed52')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('0c266dff-15dd-4b49-8397-2bb16070ed52', 'Microsoft 365 Audio Conferencing', 'MCOMEETADV')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Microsoft 365 Audio Conferencing', [stringId] = 'MCOMEETADV' WHERE [skuId] = '0c266dff-15dd-4b49-8397-2bb16070ed52'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'c2273bd0-dff7-4215-9ef5-2c7bcfb06425')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('c2273bd0-dff7-4215-9ef5-2c7bcfb06425', 'MICROSOFT 365 APPS FOR ENTERPRISE', 'OFFICESUBSCRIPTION')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT 365 APPS FOR ENTERPRISE', [stringId] = 'OFFICESUBSCRIPTION' WHERE [skuId] = 'c2273bd0-dff7-4215-9ef5-2c7bcfb06425'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'fc14ec4a-4169-49a4-a51e-2c852931814b')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('fc14ec4a-4169-49a4-a51e-2c852931814b', 'OFFICE 365 SMALL BUSINESS PREMIUM', 'LITEPACK_P2')
ELSE
UPDATE [LicenseDescription] SET [name] = 'OFFICE 365 SMALL BUSINESS PREMIUM', [stringId] = 'LITEPACK_P2' WHERE [skuId] = 'fc14ec4a-4169-49a4-a51e-2c852931814b'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '47794cd0-f0e5-45c5-9033-2eb6b5fc84e0')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('47794cd0-f0e5-45c5-9033-2eb6b5fc84e0', 'COMMUNICATIONS CREDITS', 'MCOPSTNC')
ELSE
UPDATE [LicenseDescription] SET [name] = 'COMMUNICATIONS CREDITS', [stringId] = 'MCOPSTNC' WHERE [skuId] = '47794cd0-f0e5-45c5-9033-2eb6b5fc84e0'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '16ddbbfc-09ea-4de2-b1d7-312db6112d70')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('16ddbbfc-09ea-4de2-b1d7-312db6112d70', 'MICROSOFT TEAM (FREE)', 'TEAMS_FREE')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT TEAM (FREE)', [stringId] = 'TEAMS_FREE' WHERE [skuId] = '16ddbbfc-09ea-4de2-b1d7-312db6112d70'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '061f9ace-7d42-4136-88ac-31dc755f143f')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('061f9ace-7d42-4136-88ac-31dc755f143f', 'INTUNE', 'INTUNE_A')
ELSE
UPDATE [LicenseDescription] SET [name] = 'INTUNE', [stringId] = 'INTUNE_A' WHERE [skuId] = '061f9ace-7d42-4136-88ac-31dc755f143f'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '90b5e015-709a-4b8b-b08e-3200f994494c')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('90b5e015-709a-4b8b-b08e-3200f994494c', 'EXCHANGE ONLINE ARCHIVING FOR EXCHANGE SERVER', 'EXCHANGEARCHIVE')
ELSE
UPDATE [LicenseDescription] SET [name] = 'EXCHANGE ONLINE ARCHIVING FOR EXCHANGE SERVER', [stringId] = 'EXCHANGEARCHIVE' WHERE [skuId] = '90b5e015-709a-4b8b-b08e-3200f994494c'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '749742bf-0d37-4158-a120-33567104deeb')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('749742bf-0d37-4158-a120-33567104deeb', 'DYNAMICS 365 FOR CUSTOMER SERVICE ENTERPRISE EDITION', 'DYN365_ENTERPRISE_CUSTOMER_SERVICE')
ELSE
UPDATE [LicenseDescription] SET [name] = 'DYNAMICS 365 FOR CUSTOMER SERVICE ENTERPRISE EDITION', [stringId] = 'DYN365_ENTERPRISE_CUSTOMER_SERVICE' WHERE [skuId] = '749742bf-0d37-4158-a120-33567104deeb'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '1b1b1f7a-8355-43b6-829f-336cfccb744c')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('1b1b1f7a-8355-43b6-829f-336cfccb744c', 'Office 365 Advanced Compliance', 'EQUIVIO_ANALYTICS')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Office 365 Advanced Compliance', [stringId] = 'EQUIVIO_ANALYTICS' WHERE [skuId] = '1b1b1f7a-8355-43b6-829f-336cfccb744c'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '4b585984-651b-448a-9e53-3b10f069cf7f')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('4b585984-651b-448a-9e53-3b10f069cf7f', 'OFFICE 365 F3', 'DESKLESSPACK')
ELSE
UPDATE [LicenseDescription] SET [name] = 'OFFICE 365 F3', [stringId] = 'DESKLESSPACK' WHERE [skuId] = '4b585984-651b-448a-9e53-3b10f069cf7f'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '45bc2c81-6072-436a-9b0b-3b12eefbc402')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('45bc2c81-6072-436a-9b0b-3b12eefbc402', 'POWER BI FOR OFFICE 365 ADD-ON', 'POWER_BI_ADDON')
ELSE
UPDATE [LicenseDescription] SET [name] = 'POWER BI FOR OFFICE 365 ADD-ON', [stringId] = 'POWER_BI_ADDON' WHERE [skuId] = '45bc2c81-6072-436a-9b0b-3b12eefbc402'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'bd09678e-b83c-4d3f-aaba-3dad4abd128b')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('bd09678e-b83c-4d3f-aaba-3dad4abd128b', 'OFFICE 365 SMALL BUSINESS', 'LITEPACK')
ELSE
UPDATE [LicenseDescription] SET [name] = 'OFFICE 365 SMALL BUSINESS', [stringId] = 'LITEPACK' WHERE [skuId] = 'bd09678e-b83c-4d3f-aaba-3dad4abd128b'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '04a7fb0d-32e0-4241-b4f5-3f7618cd1162')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('04a7fb0d-32e0-4241-b4f5-3f7618cd1162', 'OFFICE 365 MIDSIZE BUSINESS', 'MIDSIZEPACK')
ELSE
UPDATE [LicenseDescription] SET [name] = 'OFFICE 365 MIDSIZE BUSINESS', [stringId] = 'MIDSIZEPACK' WHERE [skuId] = '04a7fb0d-32e0-4241-b4f5-3f7618cd1162'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'ed01faf2-1d88-4947-ae91-45ca18703a96')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('ed01faf2-1d88-4947-ae91-45ca18703a96', 'ONEDRIVE FOR BUSINESS (PLAN 2)', 'WACONEDRIVEENTERPRISE')
ELSE
UPDATE [LicenseDescription] SET [name] = 'ONEDRIVE FOR BUSINESS (PLAN 2)', [stringId] = 'WACONEDRIVEENTERPRISE' WHERE [skuId] = 'ed01faf2-1d88-4947-ae91-45ca18703a96'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '26124093-3d78-432b-b5dc-48bf992543d5')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('26124093-3d78-432b-b5dc-48bf992543d5', 'Microsoft 365 E5 Security', 'IDENTITY_THREAT_PROTECTION')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Microsoft 365 E5 Security', [stringId] = 'IDENTITY_THREAT_PROTECTION' WHERE [skuId] = '26124093-3d78-432b-b5dc-48bf992543d5'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '2b9c8e7c-319c-43a2-a2a0-48c5c6161de7')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('2b9c8e7c-319c-43a2-a2a0-48c5c6161de7', 'AZURE ACTIVE DIRECTORY BASIC', 'AAD_BASIC')
ELSE
UPDATE [LicenseDescription] SET [name] = 'AZURE ACTIVE DIRECTORY BASIC', [stringId] = 'AAD_BASIC' WHERE [skuId] = '2b9c8e7c-319c-43a2-a2a0-48c5c6161de7'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'ee02fd1b-340e-4a4b-b355-4a514e4c8943')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('ee02fd1b-340e-4a4b-b355-4a514e4c8943', 'EXCHANGE ONLINE ARCHIVING FOR EXCHANGE ONLINE', 'EXCHANGEARCHIVE_ADDON')
ELSE
UPDATE [LicenseDescription] SET [name] = 'EXCHANGE ONLINE ARCHIVING FOR EXCHANGE ONLINE', [stringId] = 'EXCHANGEARCHIVE_ADDON' WHERE [skuId] = 'ee02fd1b-340e-4a4b-b355-4a514e4c8943'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '906af65a-2970-46d5-9b58-4e9aa50f0657')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('906af65a-2970-46d5-9b58-4e9aa50f0657', 'MICROSOFT DYNAMICS CRM ONLINE BASIC', 'CRMPLAN2')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT DYNAMICS CRM ONLINE BASIC', [stringId] = 'CRMPLAN2' WHERE [skuId] = '906af65a-2970-46d5-9b58-4e9aa50f0657'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '26d45bd9-adf1-46cd-a9e1-51e9a5524128')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('26d45bd9-adf1-46cd-a9e1-51e9a5524128', 'OFFICE 365 E5 WITHOUT AUDIO CONFERENCING', 'ENTERPRISEPREMIUM_NOPSTNCONF')
ELSE
UPDATE [LicenseDescription] SET [name] = 'OFFICE 365 E5 WITHOUT AUDIO CONFERENCING', [stringId] = 'ENTERPRISEPREMIUM_NOPSTNCONF' WHERE [skuId] = '26d45bd9-adf1-46cd-a9e1-51e9a5524128'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'b0e7de67-e503-4934-b729-53d595ba5cd1')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('b0e7de67-e503-4934-b729-53d595ba5cd1', 'MICROSOFT 365 PHONE SYSTEM_USGOV_DOD', 'MCOEV_USGOV_DOD')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT 365 PHONE SYSTEM_USGOV_DOD', [stringId] = 'MCOEV_USGOV_DOD' WHERE [skuId] = 'b0e7de67-e503-4934-b729-53d595ba5cd1'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'd17b27af-3f49-4822-99f9-56a661538792')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('d17b27af-3f49-4822-99f9-56a661538792', 'MICROSOFT DYNAMICS CRM ONLINE', 'CRMSTANDARD')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT DYNAMICS CRM ONLINE', [stringId] = 'CRMSTANDARD' WHERE [skuId] = 'd17b27af-3f49-4822-99f9-56a661538792'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'ffaf2d68-1c95-4eb3-9ddd-59b81fba0f61')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('ffaf2d68-1c95-4eb3-9ddd-59b81fba0f61', 'MICROSOFT 365 PHONE SYSTEM FOR TELSTRA', 'MCOEV_TELSTRA')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT 365 PHONE SYSTEM FOR TELSTRA', [stringId] = 'MCOEV_TELSTRA' WHERE [skuId] = 'ffaf2d68-1c95-4eb3-9ddd-59b81fba0f61'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'c7df2760-2c81-4ef7-b578-5b5392b571df')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('c7df2760-2c81-4ef7-b578-5b5392b571df', 'OFFICE 365 E5', 'ENTERPRISEPREMIUM')
ELSE
UPDATE [LicenseDescription] SET [name] = 'OFFICE 365 E5', [stringId] = 'ENTERPRISEPREMIUM' WHERE [skuId] = 'c7df2760-2c81-4ef7-b578-5b5392b571df'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'd61d61cc-f992-433f-a577-5bd016037eeb')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('d61d61cc-f992-433f-a577-5bd016037eeb', 'Microsoft 365 E3_USGOV_DOD', 'SPE_E3_USGOV_DOD')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Microsoft 365 E3_USGOV_DOD', [stringId] = 'SPE_E3_USGOV_DOD' WHERE [skuId] = 'd61d61cc-f992-433f-a577-5bd016037eeb'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '19ec0d23-8335-4cbd-94ac-6050e30712fa')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('19ec0d23-8335-4cbd-94ac-6050e30712fa', 'EXCHANGE ONLINE (PLAN 2)', 'EXCHANGEENTERPRISE')
ELSE
UPDATE [LicenseDescription] SET [name] = 'EXCHANGE ONLINE (PLAN 2)', [stringId] = 'EXCHANGEENTERPRISE' WHERE [skuId] = '19ec0d23-8335-4cbd-94ac-6050e30712fa'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '18181a46-0d4e-45cd-891e-60aabd171b4e')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('18181a46-0d4e-45cd-891e-60aabd171b4e', 'OFFICE 365 E1', 'STANDARDPACK')
ELSE
UPDATE [LicenseDescription] SET [name] = 'OFFICE 365 E1', [stringId] = 'STANDARDPACK' WHERE [skuId] = '18181a46-0d4e-45cd-891e-60aabd171b4e'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'aea38a85-9bd5-4981-aa00-616b411205bf')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('aea38a85-9bd5-4981-aa00-616b411205bf', 'Office 365 E3_USGOV_GCCHIGH', 'ENTERPRISEPACK_USGOV_GCCHIGH')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Office 365 E3_USGOV_GCCHIGH', [stringId] = 'ENTERPRISEPACK_USGOV_GCCHIGH' WHERE [skuId] = 'aea38a85-9bd5-4981-aa00-616b411205bf'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '1392051d-0cb9-4b7a-88d5-621fee5e8711')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('1392051d-0cb9-4b7a-88d5-621fee5e8711', 'OFFICE 365 E4', 'ENTERPRISEWITHSCAL')
ELSE
UPDATE [LicenseDescription] SET [name] = 'OFFICE 365 E4', [stringId] = 'ENTERPRISEWITHSCAL' WHERE [skuId] = '1392051d-0cb9-4b7a-88d5-621fee5e8711'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '440eaaa8-b3e0-484b-a8be-62870b9ba70a')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('440eaaa8-b3e0-484b-a8be-62870b9ba70a', 'MICROSOFT 365 PHONE SYSTEM - VIRTUAL USER', 'PHONESYSTEM_VIRTUALUSER')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT 365 PHONE SYSTEM - VIRTUAL USER', [stringId] = 'PHONESYSTEM_VIRTUALUSER' WHERE [skuId] = '440eaaa8-b3e0-484b-a8be-62870b9ba70a'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'cb10e6cd-9da4-4992-867b-67546b1db821')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('cb10e6cd-9da4-4992-867b-67546b1db821', 'WINDOWS 10 ENTERPRISE E3', 'WIN10_PRO_ENT_SUB')
ELSE
UPDATE [LicenseDescription] SET [name] = 'WINDOWS 10 ENTERPRISE E3', [stringId] = 'WIN10_PRO_ENT_SUB' WHERE [skuId] = 'cb10e6cd-9da4-4992-867b-67546b1db821'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '11dee6af-eca8-419f-8061-6864517c1875')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('11dee6af-eca8-419f-8061-6864517c1875', 'MICROSOFT 365 DOMESTIC CALLING PLAN (120 Minutes)', 'MCOPSTN_5')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT 365 DOMESTIC CALLING PLAN (120 Minutes)', [stringId] = 'MCOPSTN_5' WHERE [skuId] = '11dee6af-eca8-419f-8061-6864517c1875'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'cbdc14ab-d96c-4c30-b9f4-6ada7cdc1d46')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('cbdc14ab-d96c-4c30-b9f4-6ada7cdc1d46', 'MICROSOFT 365 BUSINESS PREMIUM', 'SPB')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT 365 BUSINESS PREMIUM', [stringId] = 'SPB' WHERE [skuId] = 'cbdc14ab-d96c-4c30-b9f4-6ada7cdc1d46'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'cc13a803-544e-4464-b4e4-6d6169a138fa')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('cc13a803-544e-4464-b4e4-6d6169a138fa', 'DYNAMICS 365 FOR FINANCIALS BUSINESS EDITION', 'DYN365_FINANCIALS_BUSINESS_SKU')
ELSE
UPDATE [LicenseDescription] SET [name] = 'DYNAMICS 365 FOR FINANCIALS BUSINESS EDITION', [stringId] = 'DYN365_FINANCIALS_BUSINESS_SKU' WHERE [skuId] = 'cc13a803-544e-4464-b4e4-6d6169a138fa'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '776df282-9fc0-4862-99e2-70e561b9909e')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('776df282-9fc0-4862-99e2-70e561b9909e', 'PROJECT ONLINE ESSENTIALS', 'PROJECTESSENTIALS')
ELSE
UPDATE [LicenseDescription] SET [name] = 'PROJECT ONLINE ESSENTIALS', [stringId] = 'PROJECTESSENTIALS' WHERE [skuId] = '776df282-9fc0-4862-99e2-70e561b9909e'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'cdd28e44-67e3-425e-be4c-737fab2899d3')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('cdd28e44-67e3-425e-be4c-737fab2899d3', 'MICROSOFT 365 APPS FOR BUSINESS', 'O365_BUSINESS')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT 365 APPS FOR BUSINESS', [stringId] = 'O365_BUSINESS' WHERE [skuId] = 'cdd28e44-67e3-425e-be4c-737fab2899d3'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'a10d5e58-74da-4312-95c8-76be4e5b75a0')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('a10d5e58-74da-4312-95c8-76be4e5b75a0', 'PROJECT FOR OFFICE 365', 'PROJECTCLIENT')
ELSE
UPDATE [LicenseDescription] SET [name] = 'PROJECT FOR OFFICE 365', [stringId] = 'PROJECTCLIENT' WHERE [skuId] = 'a10d5e58-74da-4312-95c8-76be4e5b75a0'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'd979703c-028d-4de5-acbf-7955566b69b9')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('d979703c-028d-4de5-acbf-7955566b69b9', 'MICROSOFT 365 PHONE SYSTEM FOR FACULTY', 'MCOEV_FACULTY')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT 365 PHONE SYSTEM FOR FACULTY', [stringId] = 'MCOEV_FACULTY' WHERE [skuId] = 'd979703c-028d-4de5-acbf-7955566b69b9'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'a403ebcc-fae0-4ca2-8c8c-7a907fd6c235')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('a403ebcc-fae0-4ca2-8c8c-7a907fd6c235', 'POWER BI (FREE)', 'POWER_BI_STANDARD')
ELSE
UPDATE [LicenseDescription] SET [name] = 'POWER BI (FREE)', [stringId] = 'POWER_BI_STANDARD' WHERE [skuId] = 'a403ebcc-fae0-4ca2-8c8c-7a907fd6c235'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '7fc0182e-d107-4556-8329-7caaa511197b')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('7fc0182e-d107-4556-8329-7caaa511197b', 'EXCHANGE ONLINE ESSENTIALS', 'EXCHANGEESSENTIALS')
ELSE
UPDATE [LicenseDescription] SET [name] = 'EXCHANGE ONLINE ESSENTIALS', [stringId] = 'EXCHANGEESSENTIALS' WHERE [skuId] = '7fc0182e-d107-4556-8329-7caaa511197b'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '0dab259f-bf13-4952-b7f8-7db8f131b28d')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('0dab259f-bf13-4952-b7f8-7db8f131b28d', 'SKYPE FOR BUSINESS PSTN DOMESTIC CALLING', 'MCOPSTN1')
ELSE
UPDATE [LicenseDescription] SET [name] = 'SKYPE FOR BUSINESS PSTN DOMESTIC CALLING', [stringId] = 'MCOPSTN1' WHERE [skuId] = '0dab259f-bf13-4952-b7f8-7db8f131b28d'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '3b555118-da6a-4418-894f-7df1e2096870')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('3b555118-da6a-4418-894f-7df1e2096870', 'MICROSOFT 365 BUSINESS BASIC', 'O365_BUSINESS_ESSENTIALS')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT 365 BUSINESS BASIC', [stringId] = 'O365_BUSINESS_ESSENTIALS' WHERE [skuId] = '3b555118-da6a-4418-894f-7df1e2096870'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'f30db892-07e9-47e9-837c-80727f46fd3d')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('f30db892-07e9-47e9-837c-80727f46fd3d', 'MICROSOFT FLOW FREE', 'FLOW_FREE')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT FLOW FREE', [stringId] = 'FLOW_FREE' WHERE [skuId] = 'f30db892-07e9-47e9-837c-80727f46fd3d'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '189a915c-fe4f-4ffa-bde4-85b9628d07a0')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('189a915c-fe4f-4ffa-bde4-85b9628d07a0', 'OFFICE 365 E3 DEVELOPER', 'DEVELOPERPACK')
ELSE
UPDATE [LicenseDescription] SET [name] = 'OFFICE 365 E3 DEVELOPER', [stringId] = 'DEVELOPERPACK' WHERE [skuId] = '189a915c-fe4f-4ffa-bde4-85b9628d07a0'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '985fcb26-7b94-475b-b512-89356697be71')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('985fcb26-7b94-475b-b512-89356697be71', 'MICROSOFT 365 PHONE SYSTEM_USGOV_GCCHIGH', 'MCOEV_USGOV_GCCHIGH')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT 365 PHONE SYSTEM_USGOV_GCCHIGH', [stringId] = 'MCOEV_USGOV_GCCHIGH' WHERE [skuId] = '985fcb26-7b94-475b-b512-89356697be71'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '6470687e-a428-4b7a-bef2-8a291ad947c9')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('6470687e-a428-4b7a-bef2-8a291ad947c9', 'WINDOWS STORE FOR BUSINESS', 'WINDOWS_STORE')
ELSE
UPDATE [LicenseDescription] SET [name] = 'WINDOWS STORE FOR BUSINESS', [stringId] = 'WINDOWS_STORE' WHERE [skuId] = '6470687e-a428-4b7a-bef2-8a291ad947c9'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'e6778190-713e-4e4f-9119-8b8238de25df')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('e6778190-713e-4e4f-9119-8b8238de25df', 'ONEDRIVE FOR BUSINESS (PLAN 1)', 'WACONEDRIVESTANDARD')
ELSE
UPDATE [LicenseDescription] SET [name] = 'ONEDRIVE FOR BUSINESS (PLAN 1)', [stringId] = 'WACONEDRIVESTANDARD' WHERE [skuId] = 'e6778190-713e-4e4f-9119-8b8238de25df'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'b05e124f-c7cc-45a0-a6aa-8cf78c946968')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('b05e124f-c7cc-45a0-a6aa-8cf78c946968', 'ENTERPRISE MOBILITY + SECURITY E5', 'EMSPREMIUM')
ELSE
UPDATE [LicenseDescription] SET [name] = 'ENTERPRISE MOBILITY + SECURITY E5', [stringId] = 'EMSPREMIUM' WHERE [skuId] = 'b05e124f-c7cc-45a0-a6aa-8cf78c946968'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '8f0c5670-4e56-4892-b06d-91c085d7004f')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('8f0c5670-4e56-4892-b06d-91c085d7004f', 'APP CONNECT IW', 'SPZA_IW')
ELSE
UPDATE [LicenseDescription] SET [name] = 'APP CONNECT IW', [stringId] = 'SPZA_IW' WHERE [skuId] = '8f0c5670-4e56-4892-b06d-91c085d7004f'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'e97c048c-37a4-45fb-ab50-922fbf07a370')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('e97c048c-37a4-45fb-ab50-922fbf07a370', 'Microsoft 365 A5 for faculty', 'M365EDU_A5_FACULTY')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Microsoft 365 A5 for faculty', [stringId] = 'M365EDU_A5_FACULTY' WHERE [skuId] = 'e97c048c-37a4-45fb-ab50-922fbf07a370'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '46c119d4-0379-4a9d-85e4-97c66d3f909e')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('46c119d4-0379-4a9d-85e4-97c66d3f909e', 'Microsoft 365 A5 for students', 'M365EDU_A5_STUDENT')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Microsoft 365 A5 for students', [stringId] = 'M365EDU_A5_STUDENT' WHERE [skuId] = '46c119d4-0379-4a9d-85e4-97c66d3f909e'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '1e1a282c-9c54-43a2-9310-98ef728faace')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('1e1a282c-9c54-43a2-9310-98ef728faace', 'DYNAMICS 365 FOR SALES ENTERPRISE EDITION', 'DYN365_ENTERPRISE_SALES')
ELSE
UPDATE [LicenseDescription] SET [name] = 'DYNAMICS 365 FOR SALES ENTERPRISE EDITION', [stringId] = 'DYN365_ENTERPRISE_SALES' WHERE [skuId] = '1e1a282c-9c54-43a2-9310-98ef728faace'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '4b9405b0-7788-4568-add1-99614e613b69')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('4b9405b0-7788-4568-add1-99614e613b69', 'EXCHANGE ONLINE (PLAN 1)', 'EXCHANGESTANDARD')
ELSE
UPDATE [LicenseDescription] SET [name] = 'EXCHANGE ONLINE (PLAN 1)', [stringId] = 'EXCHANGESTANDARD' WHERE [skuId] = '4b9405b0-7788-4568-add1-99614e613b69'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'ca9d1dd9-dfe9-4fef-b97c-9bc1ea3c3658')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('ca9d1dd9-dfe9-4fef-b97c-9bc1ea3c3658', 'Microsoft 365 E3_USGOV_GCCHIGH', 'SPE_E3_USGOV_GCCHIGH')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Microsoft 365 E3_USGOV_GCCHIGH', [stringId] = 'SPE_E3_USGOV_GCCHIGH' WHERE [skuId] = 'ca9d1dd9-dfe9-4fef-b97c-9bc1ea3c3658'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'a460366a-ade7-4791-b581-9fbff1bdaa85')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('a460366a-ade7-4791-b581-9fbff1bdaa85', 'MICROSOFT 365 PHONE SYSTEM FOR GCC', 'MCOEV_GOV')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT 365 PHONE SYSTEM FOR GCC', [stringId] = 'MCOEV_GOV' WHERE [skuId] = 'a460366a-ade7-4791-b581-9fbff1bdaa85'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '66b55226-6b4f-492c-910c-a3b7a3c9d993')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('66b55226-6b4f-492c-910c-a3b7a3c9d993', 'Microsoft 365 F3', 'SPE_F1')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Microsoft 365 F3', [stringId] = 'SPE_F1' WHERE [skuId] = '66b55226-6b4f-492c-910c-a3b7a3c9d993'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'de3312e1-c7b0-46e6-a7c3-a515ff90bc86')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('de3312e1-c7b0-46e6-a7c3-a515ff90bc86', 'TELSTRA CALLING FOR O365', 'MCOPSTNEAU2')
ELSE
UPDATE [LicenseDescription] SET [name] = 'TELSTRA CALLING FOR O365', [stringId] = 'MCOPSTNEAU2' WHERE [skuId] = 'de3312e1-c7b0-46e6-a7c3-a515ff90bc86'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'b107e5a3-3e60-4c0d-a184-a7e4395eb44c')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('b107e5a3-3e60-4c0d-a184-a7e4395eb44c', 'Office 365 E3_USGOV_DOD', 'ENTERPRISEPACK_USGOV_DOD')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Office 365 E3_USGOV_DOD', [stringId] = 'ENTERPRISEPACK_USGOV_DOD' WHERE [skuId] = 'b107e5a3-3e60-4c0d-a184-a7e4395eb44c'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '8edc2cf8-6438-4fa9-b6e3-aa1660c640cc')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('8edc2cf8-6438-4fa9-b6e3-aa1660c640cc', 'DYNAMICS 365 FOR SALES AND CUSTOMER SERVICE ENTERPRISE EDITION', 'DYN365_ENTERPRISE_SALES_CUSTOMERSERVICE')
ELSE
UPDATE [LicenseDescription] SET [name] = 'DYNAMICS 365 FOR SALES AND CUSTOMER SERVICE ENTERPRISE EDITION', [stringId] = 'DYN365_ENTERPRISE_SALES_CUSTOMERSERVICE' WHERE [skuId] = '8edc2cf8-6438-4fa9-b6e3-aa1660c640cc'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'd01d9287-694b-44f3-bcc5-ada78c8d953e')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('d01d9287-694b-44f3-bcc5-ada78c8d953e', 'MICROSOFT 365 PHONE SYSTEM FOR DOD', 'MCOEV_DOD')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT 365 PHONE SYSTEM FOR DOD', [stringId] = 'MCOEV_DOD' WHERE [skuId] = 'd01d9287-694b-44f3-bcc5-ada78c8d953e'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '4b590615-0888-425a-a965-b3bf7789848d')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('4b590615-0888-425a-a965-b3bf7789848d', 'Microsoft 365 A3 for faculty', 'M365EDU_A3_FACULTY')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Microsoft 365 A3 for faculty', [stringId] = 'M365EDU_A3_FACULTY' WHERE [skuId] = '4b590615-0888-425a-a965-b3bf7789848d'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'efccb6f7-5641-4e0e-bd10-b4976e1bf68e')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('efccb6f7-5641-4e0e-bd10-b4976e1bf68e', 'ENTERPRISE MOBILITY + SECURITY E3', 'EMS')
ELSE
UPDATE [LicenseDescription] SET [name] = 'ENTERPRISE MOBILITY + SECURITY E3', [stringId] = 'EMS' WHERE [skuId] = 'efccb6f7-5641-4e0e-bd10-b4976e1bf68e'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '078d2b04-f1bd-4111-bbd4-b4b1b354cef4')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('078d2b04-f1bd-4111-bbd4-b4b1b354cef4', 'AZURE ACTIVE DIRECTORY PREMIUM P1', 'AAD_PREMIUM')
ELSE
UPDATE [LicenseDescription] SET [name] = 'AZURE ACTIVE DIRECTORY PREMIUM P1', [stringId] = 'AAD_PREMIUM' WHERE [skuId] = '078d2b04-f1bd-4111-bbd4-b4b1b354cef4'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '4b244418-9658-4451-a2b8-b5e2b364e9bd')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('4b244418-9658-4451-a2b8-b5e2b364e9bd', 'VISIO ONLINE PLAN 1', 'VISIOONLINE_PLAN1')
ELSE
UPDATE [LicenseDescription] SET [name] = 'VISIO ONLINE PLAN 1', [stringId] = 'VISIOONLINE_PLAN1' WHERE [skuId] = '4b244418-9658-4451-a2b8-b5e2b364e9bd'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'ccba3cfe-71ef-423a-bd87-b6df3dce59a9')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('ccba3cfe-71ef-423a-bd87-b6df3dce59a9', 'DYNAMICS 365 UNF OPS PLAN ENT EDITION', 'Dynamics_365_for_Operations')
ELSE
UPDATE [LicenseDescription] SET [name] = 'DYNAMICS 365 UNF OPS PLAN ENT EDITION', [stringId] = 'Dynamics_365_for_Operations' WHERE [skuId] = 'ccba3cfe-71ef-423a-bd87-b6df3dce59a9'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '1f338bbc-767e-4a1e-a2d4-b73207cc5b93')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('1f338bbc-767e-4a1e-a2d4-b73207cc5b93', 'MICROSOFT 365 PHONE SYSTEM FOR STUDENTS', 'MCOEV_STUDENT')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT 365 PHONE SYSTEM FOR STUDENTS', [stringId] = 'MCOEV_STUDENT' WHERE [skuId] = '1f338bbc-767e-4a1e-a2d4-b73207cc5b93'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '54a152dc-90de-4996-93d2-bc47e670fc06')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('54a152dc-90de-4996-93d2-bc47e670fc06', 'SKYPE FOR BUSINESS PSTN DOMESTIC CALLING (120 Minutes)', 'MCOPSTN5')
ELSE
UPDATE [LicenseDescription] SET [name] = 'SKYPE FOR BUSINESS PSTN DOMESTIC CALLING (120 Minutes)', [stringId] = 'MCOPSTN5' WHERE [skuId] = '54a152dc-90de-4996-93d2-bc47e670fc06'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'cb0a98a8-11bc-494c-83d9-c1b1ac65327e')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('cb0a98a8-11bc-494c-83d9-c1b1ac65327e', 'EXCHANGE ONLINE POP', 'EXCHANGETELCO')
ELSE
UPDATE [LicenseDescription] SET [name] = 'EXCHANGE ONLINE POP', [stringId] = 'EXCHANGETELCO' WHERE [skuId] = 'cb0a98a8-11bc-494c-83d9-c1b1ac65327e'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'aa6791d3-bb09-4bc2-afed-c30c3fe26032')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('aa6791d3-bb09-4bc2-afed-c30c3fe26032', 'MICROSOFT 365 PHONE SYSTEM FOR SMALL AND MEDIUM BUSINESS', 'MCOEVSMB_1')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT 365 PHONE SYSTEM FOR SMALL AND MEDIUM BUSINESS', [stringId] = 'MCOEVSMB_1' WHERE [skuId] = 'aa6791d3-bb09-4bc2-afed-c30c3fe26032'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'a4585165-0533-458a-97e3-c400570268c4')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('a4585165-0533-458a-97e3-c400570268c4', 'Office 365 A5 for faculty', 'ENTERPRISEPREMIUM_FACULTY')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Office 365 A5 for faculty', [stringId] = 'ENTERPRISEPREMIUM_FACULTY' WHERE [skuId] = 'a4585165-0533-458a-97e3-c400570268c4'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '7cfd9a2b-e110-4c39-bf20-c6a3f36a3121')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('7cfd9a2b-e110-4c39-bf20-c6a3f36a3121', 'Microsoft 365 A3 for students', 'M365EDU_A3_STUDENT')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Microsoft 365 A3 for students', [stringId] = 'M365EDU_A3_STUDENT' WHERE [skuId] = '7cfd9a2b-e110-4c39-bf20-c6a3f36a3121'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '44ac31e7-2999-4304-ad94-c948886741d4')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('44ac31e7-2999-4304-ad94-c948886741d4', 'Microsoft 365 E5 Security for EMS E5', 'IDENTITY_THREAT_PROTECTION_FOR_EMS_E5')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Microsoft 365 E5 Security for EMS E5', [stringId] = 'IDENTITY_THREAT_PROTECTION_FOR_EMS_E5' WHERE [skuId] = '44ac31e7-2999-4304-ad94-c948886741d4'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'b8b749f8-a4ef-4887-9539-c95b1eaa5db7')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('b8b749f8-a4ef-4887-9539-c95b1eaa5db7', 'SKYPE FOR BUSINESS ONLINE (PLAN 1)', 'MCOIMP')
ELSE
UPDATE [LicenseDescription] SET [name] = 'SKYPE FOR BUSINESS ONLINE (PLAN 1)', [stringId] = 'MCOIMP' WHERE [skuId] = 'b8b749f8-a4ef-4887-9539-c95b1eaa5db7'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'ac5cef5d-921b-4f97-9ef3-c99076e5470f')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('ac5cef5d-921b-4f97-9ef3-c99076e5470f', 'MICROSOFT 365 BUSINESS STANDARD', 'SMB_BUSINESS_PREMIUM')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT 365 BUSINESS STANDARD', [stringId] = 'SMB_BUSINESS_PREMIUM' WHERE [skuId] = 'ac5cef5d-921b-4f97-9ef3-c99076e5470f'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'd3b4fe1f-9992-4930-8acb-ca6ec609365e')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('d3b4fe1f-9992-4930-8acb-ca6ec609365e', 'SKYPE FOR BUSINESS PSTN DOMESTIC AND INTERNATIONAL CALLING', 'MCOPSTN2')
ELSE
UPDATE [LicenseDescription] SET [name] = 'SKYPE FOR BUSINESS PSTN DOMESTIC AND INTERNATIONAL CALLING', [stringId] = 'MCOPSTN2' WHERE [skuId] = 'd3b4fe1f-9992-4930-8acb-ca6ec609365e'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'ee656612-49fa-43e5-b67e-cb1fdf7699df')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('ee656612-49fa-43e5-b67e-cb1fdf7699df', 'Office 365 A5 for students', 'ENTERPRISEPREMIUM_STUDENT')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Office 365 A5 for students', [stringId] = 'ENTERPRISEPREMIUM_STUDENT' WHERE [skuId] = 'ee656612-49fa-43e5-b67e-cb1fdf7699df'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'f8a1db68-be16-40ed-86d5-cb42ce701560')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('f8a1db68-be16-40ed-86d5-cb42ce701560', 'POWER BI PRO', 'POWER_BI_PRO')
ELSE
UPDATE [LicenseDescription] SET [name] = 'POWER BI PRO', [stringId] = 'POWER_BI_PRO' WHERE [skuId] = 'f8a1db68-be16-40ed-86d5-cb42ce701560'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'e8f81a67-bd96-4074-b108-cf193eb9433b')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('e8f81a67-bd96-4074-b108-cf193eb9433b', 'EXCHANGE ONLINE ESSENTIALS', 'EXCHANGE_S_ESSENTIALS')
ELSE
UPDATE [LicenseDescription] SET [name] = 'EXCHANGE ONLINE ESSENTIALS', [stringId] = 'EXCHANGE_S_ESSENTIALS' WHERE [skuId] = 'e8f81a67-bd96-4074-b108-cf193eb9433b'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '184efa21-98c3-4e5d-95ab-d07053a96e67')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('184efa21-98c3-4e5d-95ab-d07053a96e67', 'Microsoft 365 E5 Compliance', 'INFORMATION_PROTECTION_COMPLIANCE')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Microsoft 365 E5 Compliance', [stringId] = 'INFORMATION_PROTECTION_COMPLIANCE' WHERE [skuId] = '184efa21-98c3-4e5d-95ab-d07053a96e67'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '111046dd-295b-4d6d-9724-d52ac90bd1f2')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('111046dd-295b-4d6d-9724-d52ac90bd1f2', 'Microsoft Defender Advanced Threat Protection', 'WIN_DEF_ATP')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Microsoft Defender Advanced Threat Protection', [stringId] = 'WIN_DEF_ATP' WHERE [skuId] = '111046dd-295b-4d6d-9724-d52ac90bd1f2'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'a9732ec9-17d9-494c-a51c-d6b45b384dcb')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('a9732ec9-17d9-494c-a51c-d6b45b384dcb', 'SHAREPOINT ONLINE (PLAN 2)', 'SHAREPOINTENTERPRISE')
ELSE
UPDATE [LicenseDescription] SET [name] = 'SHAREPOINT ONLINE (PLAN 2)', [stringId] = 'SHAREPOINTENTERPRISE' WHERE [skuId] = 'a9732ec9-17d9-494c-a51c-d6b45b384dcb'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '8e7a3d30-d97d-43ab-837c-d7701cef83dc')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('8e7a3d30-d97d-43ab-837c-d7701cef83dc', 'DYNAMICS 365 FOR TEAM MEMBERS ENTERPRISE EDITION', 'DYN365_ENTERPRISE_TEAM_MEMBERS')
ELSE
UPDATE [LicenseDescription] SET [name] = 'DYNAMICS 365 FOR TEAM MEMBERS ENTERPRISE EDITION', [stringId] = 'DYN365_ENTERPRISE_TEAM_MEMBERS' WHERE [skuId] = '8e7a3d30-d97d-43ab-837c-d7701cef83dc'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '4ef96642-f096-40de-a3e9-d83fb2f90211')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('4ef96642-f096-40de-a3e9-d83fb2f90211', 'Office 365 Advanced Threat Protection (Plan 1)', 'ATP_ENTERPRISE')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Office 365 Advanced Threat Protection (Plan 1)', [stringId] = 'ATP_ENTERPRISE' WHERE [skuId] = '4ef96642-f096-40de-a3e9-d83fb2f90211'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'ea126fc5-a19e-42e2-a731-da9d437bffcf')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('ea126fc5-a19e-42e2-a731-da9d437bffcf', 'DYNAMICS 365 CUSTOMER ENGAGEMENT PLAN ENTERPRISE EDITION', 'DYN365_ENTERPRISE_PLAN1')
ELSE
UPDATE [LicenseDescription] SET [name] = 'DYNAMICS 365 CUSTOMER ENGAGEMENT PLAN ENTERPRISE EDITION', [stringId] = 'DYN365_ENTERPRISE_PLAN1' WHERE [skuId] = 'ea126fc5-a19e-42e2-a731-da9d437bffcf'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'e43b5b99-8dfb-405f-9987-dc307f34bcbd')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('e43b5b99-8dfb-405f-9987-dc307f34bcbd', 'MICROSOFT 365 PHONE SYSTEM', 'MCOEV')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT 365 PHONE SYSTEM', [stringId] = 'MCOEV' WHERE [skuId] = 'e43b5b99-8dfb-405f-9987-dc307f34bcbd'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'd42c793f-6c78-4f43-92ca-e8f6a02b035f')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('d42c793f-6c78-4f43-92ca-e8f6a02b035f', 'SKYPE FOR BUSINESS ONLINE (PLAN 2)', 'MCOSTANDARD')
ELSE
UPDATE [LicenseDescription] SET [name] = 'SKYPE FOR BUSINESS ONLINE (PLAN 2)', [stringId] = 'MCOSTANDARD' WHERE [skuId] = 'd42c793f-6c78-4f43-92ca-e8f6a02b035f'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '44575883-256e-4a79-9da4-ebe9acabe2b2')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('44575883-256e-4a79-9da4-ebe9acabe2b2', 'Microsoft 365 F1', 'M365_F1')
ELSE
UPDATE [LicenseDescription] SET [name] = 'Microsoft 365 F1', [stringId] = 'M365_F1' WHERE [skuId] = '44575883-256e-4a79-9da4-ebe9acabe2b2'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '84a661c4-e949-4bd2-a560-ed7766fcaf2b')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('84a661c4-e949-4bd2-a560-ed7766fcaf2b', 'AZURE ACTIVE DIRECTORY PREMIUM P2', 'AAD_PREMIUM_P2')
ELSE
UPDATE [LicenseDescription] SET [name] = 'AZURE ACTIVE DIRECTORY PREMIUM P2', [stringId] = 'AAD_PREMIUM_P2' WHERE [skuId] = '84a661c4-e949-4bd2-a560-ed7766fcaf2b'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '2db84718-652c-47a7-860c-f10d8abbdae3')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('2db84718-652c-47a7-860c-f10d8abbdae3', 'PROJECT ONLINE PREMIUM WITHOUT PROJECT CLIENT', 'PROJECTONLINE_PLAN_1')
ELSE
UPDATE [LicenseDescription] SET [name] = 'PROJECT ONLINE PREMIUM WITHOUT PROJECT CLIENT', [stringId] = 'PROJECTONLINE_PLAN_1' WHERE [skuId] = '2db84718-652c-47a7-860c-f10d8abbdae3'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '09015f9f-377f-4538-bbb5-f75ceb09358a')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('09015f9f-377f-4538-bbb5-f75ceb09358a', 'PROJECT ONLINE PREMIUM', 'PROJECTPREMIUM')
ELSE
UPDATE [LicenseDescription] SET [name] = 'PROJECT ONLINE PREMIUM', [stringId] = 'PROJECTPREMIUM' WHERE [skuId] = '09015f9f-377f-4538-bbb5-f75ceb09358a'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '1fc08a02-8b3d-43b9-831e-f76859e04e1a')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('1fc08a02-8b3d-43b9-831e-f76859e04e1a', 'SHAREPOINT ONLINE (PLAN 1)', 'SHAREPOINTSTANDARD')
ELSE
UPDATE [LicenseDescription] SET [name] = 'SHAREPOINT ONLINE (PLAN 1)', [stringId] = 'SHAREPOINTSTANDARD' WHERE [skuId] = '1fc08a02-8b3d-43b9-831e-f76859e04e1a'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '6634e0ce-1a9f-428c-a498-f84ec7b8aa2e')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('6634e0ce-1a9f-428c-a498-f84ec7b8aa2e', 'OFFICE 365 E2', 'STANDARDWOFFPACK')
ELSE
UPDATE [LicenseDescription] SET [name] = 'OFFICE 365 E2', [stringId] = 'STANDARDWOFFPACK' WHERE [skuId] = '6634e0ce-1a9f-428c-a498-f84ec7b8aa2e'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = 'b214fe43-f5a3-4703-beeb-fa97188220fc')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('b214fe43-f5a3-4703-beeb-fa97188220fc', 'MICROSOFT 365 APPS FOR BUSINESS', 'SMB_BUSINESS')
ELSE
UPDATE [LicenseDescription] SET [name] = 'MICROSOFT 365 APPS FOR BUSINESS', [stringId] = 'SMB_BUSINESS' WHERE [skuId] = 'b214fe43-f5a3-4703-beeb-fa97188220fc'

IF NOT EXISTS (SELECT [skuId] FROM [LicenseDescription] WHERE [skuId] = '80b2d799-d2ba-4d2a-8842-fb0d0f3a4b82')
INSERT [LicenseDescription] ([skuId], [name], [stringId]) VALUES ('80b2d799-d2ba-4d2a-8842-fb0d0f3a4b82', 'EXCHANGE ONLINE KIOSK', 'EXCHANGEDESKLESS')
ELSE
UPDATE [LicenseDescription] SET [name] = 'EXCHANGE ONLINE KIOSK', [stringId] = 'EXCHANGEDESKLESS' WHERE [skuId] = '80b2d799-d2ba-4d2a-8842-fb0d0f3a4b82'

END

 

7. Data

IF NOT EXISTS(SELECT * FROM [__EFMigrationsHistory] WHERE [MigrationId] = N'20230222102941_initial')
BEGIN
    INSERT INTO [__EFMigrationsHistory] ([MigrationId], [ProductVersion])
    VALUES (N'20230222102941_initial', N'5.0.17');
END

 

4. App Service 

Damit der Azure Service Connector in Azure Deployt und in Betrieb genommen werden kann, muss ein App Service erstellt werden.

App Service erstellen (1).png

Folgende Einstellungen müssen ausgewählt werden:

Einstellungen Wert
Publish Code
Runtime Stack .Net 6 (LTS)

App Service erstellen (6).png

4.1 Identity Status

Danach muss der Identity Status des App Services umgestellt werden.

image.png

5. KeyVault

Es wird empfohlen einen KeyVault einzurichten. Dort werden bestimmte Werte als "Secret" gespeichert und werden dann von dem Azure Service Connector ausgelesen.

KeyVault erstellen (1).png

image.png

Im Tab "Access Configuration" muss das Berechtigungsmodell "Valut Access Policy" ausgewählt werden. Dann muss der App Service des Azure Service Connectors hinzugefügt werden.

Über "Create" muss die "Secret Permission" Get und List vergeben werden. Als Principal muss der App Service des Azure Service Connectors ausgewählt werden. Im Beispiel: Azure Service Connector Demo

Danach kann die Erstellung der Zugriffsberechtigung abgeschlossen werden.

image.png

5.1 Secrets erstellen

Dem KeyVault müssen folgende Secrets hinzugefügt werden:

Name Inhalt
ClientSecret

Das ClientSecret der App Registration

DefaultConnectionString Der Connection String der Datenbank
HangfireConnectionString
Der Connection String der Datenbank
Client Secret

Das Client Secret kann nur bei der Erstellung ausgelesen werden. Eine Anleitung dazu befindet sich hier.

DefaultConnectionString und HangfireConnectionString

Der DefaultConnectionString und der HangfireConnectionString beinhalten den Connection String der Datenbank. Eine Anleitung dazu befindet sich hier. Bitte darauf achten das Passwort im Connection String zu ersetzen

image.png

6. Deployment

Bevor der Azure Service Connector deployt wird, muss die AppSettings.json angepasst werden.

image.png

Wenn keine KeyVault erstellt worden ist, müssen stattdessen die entsprechenden Werte eingetragen werden.

Name Wert
ConnectionString @DefaultConnectionString
DefaultConnection @DefaultConnectionString
HangfireConncetion @HangfireConnectionString
ClientId Die ClientID der App Registration
TenantId Die TenantID der App Registration
KeyVaultURI

Die URI des erstellten Key Vaults

ClientSecret @ClientSecret
Authentication Azure


Nach dem die AppSettings.json angepasst worden ist, kann die Setup.Zip des Azure Service Connectors deployt werden.

Dazu muss in dem Erstellten App Service, "Advanced Tools" und "Go " ausgewählt werden.

image.png

Auf der weitergeleiteten Seite muss unter "Tools", "Zip Push Deploy" ausgewählt werden.

image.png

Auf der "Zip Push Deploy" Seite kann die Setup.Zip per Drag & Drop hochgeladen werden.

image.png

7. Start

Nachdem deployment muss der App Service neugestartet werden. Danach kann der Azure Service Connector über die "Default Domain" aufgerufen werden.

image.png

image.png

Nachdem eine Lizenz hochgeladen worden ist, ist der Azure Service Connector einsatzbereit.

8. Troubleshooting

Sollte es bei dem aufrufen des Azure Service Connectors zu einem Fehlverhalten kommen, können verschiedene Tools zum Troubleshooting verwendet werden.

image.png

  • Logs
  • Diagnotic Dump
  • Log Stream