code: def with_aad_device_authentication(cls, connection_string, authority_id="common"):
          
          kcsb = cls(connection_string)
          kcsb[kcsb.ValidKeywords.aad_federated_security] = True
          kcsb[kcsb.ValidKeywords.authority_id] = authority_id
  
          return kcsb
docs: Creates a KustoConnection string builder that will authenticate with AAD application and
          password.
          :param str connection_string: Kusto connection string should by of the format: https://<clusterName>.kusto.windows.net
          :param str authority_id: optional param. defaults to "common"