public static T?TryGetPropertyValue <T>(
            this ConnectedService service,
            string name)
        {
            ConnectedServiceProperty?value = service.Properties.FirstOrDefault(x => x.Name.Equals(
                                                                                   name,
                                                                                   StringComparison.InvariantCultureIgnoreCase));

            if (value is { })
        public static string GetPropertyValue(
            this ConnectedService service,
            string name)
        {
            var value = service.TryGetPropertyValue <string>(name);

            if (value is null)
            {
                throw new ApplicationException($"Property {name} is null");
            }

            return(value);
        }