diff --git a/src/Commands/Model/PowerPlatform/Environment/PowerPlatformSolution.cs b/src/Commands/Model/PowerPlatform/Environment/PowerPlatformSolution.cs
index d852d270b..a9082d81e 100644
--- a/src/Commands/Model/PowerPlatform/Environment/PowerPlatformSolution.cs
+++ b/src/Commands/Model/PowerPlatform/Environment/PowerPlatformSolution.cs
@@ -13,43 +13,43 @@ public class PowerPlatformSolution
/// Etag for the solution
///
[JsonPropertyName("@odata.etag")]
- public string? ODataEtag { get; set; }
+ public string ODataEtag { get; set; }
///
/// Date and time when the solution was installed
///
[JsonPropertyName("installedon")]
- public string? InstalledOn { get; set; }
+ public string InstalledOn { get; set; }
///
/// Version of the solution package
///
[JsonPropertyName("solutionpackageversion")]
- public string? SolutionPackageVersion { get; set; }
+ public string SolutionPackageVersion { get; set; }
///
/// Configuration page ID (null in this case)
///
[JsonPropertyName("_configurationpageid_value")]
- public string? ConfigurationPageId { get; set; }
+ public string ConfigurationPageId { get; set; }
///
/// ID of the solution
///
[JsonPropertyName("solutionid")]
- public string? SolutionId { get; set; }
+ public string SolutionId { get; set; }
///
/// Date and time when the solution was last modified
///
[JsonPropertyName("modifiedon")]
- public string? ModifiedOn { get; set; }
+ public string ModifiedOn { get; set; }
///
/// Unique name of the solution
///
[JsonPropertyName("uniquename")]
- public string? UniqueName { get; set; }
+ public string UniqueName { get; set; }
///
/// Indicates if the solution is managed by API
@@ -61,7 +61,7 @@ public class PowerPlatformSolution
/// Publisher ID (null in this case)
///
[JsonPropertyName("_publisherid_value")]
- public string? PublisherIdValue { get; set; }
+ public string PublisherIdValue { get; set; }
///
/// Indicates if the solution is managed
@@ -79,55 +79,55 @@ public class PowerPlatformSolution
/// Thumbprint (null in this case)
///
[JsonPropertyName("thumbprint")]
- public string? Thumbprint { get; set; }
+ public string Thumbprint { get; set; }
///
/// Pinpoint publisher ID (null in this case)
///
[JsonPropertyName("pinpointpublisherid")]
- public string? PinpointPublisherId { get; set; }
+ public string PinpointPublisherId { get; set; }
///
/// Version of the solution
///
[JsonPropertyName("version")]
- public string? Version { get; set; }
+ public string Version { get; set; }
///
/// Modified on behalf by value (null in this case)
///
[JsonPropertyName("_modifiedonbehalfby_value")]
- public string? ModifiedOnBehalfByValue { get; set; }
+ public string ModifiedOnBehalfByValue { get; set; }
///
/// Parent solution ID value (null in this case)
///
[JsonPropertyName("_parentsolutionid_value")]
- public string? ParentSolutionIdValue { get; set; }
+ public string ParentSolutionIdValue { get; set; }
///
/// Pinpoint asset ID (null in this case)
///
[JsonPropertyName("pinpointassetid")]
- public string? PinpointAssetId { get; set; }
+ public string PinpointAssetId { get; set; }
///
/// Pinpoint solution ID (null in this case)
///
[JsonPropertyName("pinpointsolutionid")]
- public string? PinpointSolutionId { get; set; }
+ public string PinpointSolutionId { get; set; }
///
/// Friendly name of the solution
///
[JsonPropertyName("friendlyname")]
- public string? FriendlyName { get; set; }
+ public string FriendlyName { get; set; }
///
/// Organization ID value
///
[JsonPropertyName("_organizationid_value")]
- public string? OrganizationIdValue { get; set; }
+ public string OrganizationIdValue { get; set; }
///
/// Version number
@@ -139,43 +139,43 @@ public class PowerPlatformSolution
/// Template suffix (null in this case)
///
[JsonPropertyName("templatesuffix")]
- public string? TemplateSuffix { get; set; }
+ public string TemplateSuffix { get; set; }
///
/// Upgrade information (null in this case)
///
[JsonPropertyName("upgradeinfo")]
- public string? UpgradeInfo { get; set; }
+ public string UpgradeInfo { get; set; }
///
/// Created on behalf by value (null in this case)
///
[JsonPropertyName("_createdonbehalfby_value")]
- public string? CreatedOnBehalfByValue { get; set; }
+ public string CreatedOnBehalfByValue { get; set; }
///
/// Modified by value
///
[JsonPropertyName("_modifiedby_value")]
- public string? ModifiedByValue { get; set; }
+ public string ModifiedByValue { get; set; }
///
/// Date and time when the solution was created
///
[JsonPropertyName("createdon")]
- public string? CreatedOn { get; set; }
+ public string CreatedOn { get; set; }
///
/// Date and time when the solution was last updated (null in this case)
///
[JsonPropertyName("updatedon")]
- public string? UpdatedOn { get; set; }
+ public string UpdatedOn { get; set; }
///
/// Description of the solution (null in this case)
///
[JsonPropertyName("description")]
- public string? Description { get; set; }
+ public string Description { get; set; }
///
/// Solution type (null in this case)
@@ -187,13 +187,13 @@ public class PowerPlatformSolution
/// Pinpoint solution default locale (null in this case)
///
[JsonPropertyName("pinpointsolutiondefaultlocale")]
- public string? PinpointSolutionDefaultLocale { get; set; }
+ public string PinpointSolutionDefaultLocale { get; set; }
///
/// Created by value
///
[JsonPropertyName("_createdby_value")]
- public string? CreatedByValue { get; set; }
+ public string CreatedByValue { get; set; }
///
/// Publisher information
diff --git a/src/Commands/Model/PowerPlatform/Environment/PowerPlatformSolutionPublisher.cs b/src/Commands/Model/PowerPlatform/Environment/PowerPlatformSolutionPublisher.cs
index df497e95f..85e247057 100644
--- a/src/Commands/Model/PowerPlatform/Environment/PowerPlatformSolutionPublisher.cs
+++ b/src/Commands/Model/PowerPlatform/Environment/PowerPlatformSolutionPublisher.cs
@@ -13,163 +13,163 @@ public class PowerPlatformSolutionPublisher
/// Etag for the publisher
///
[JsonPropertyName("@odata.etag")]
- public string? ODataEtag { get; set; }
+ public string ODataEtag { get; set; }
///
/// Address line 1 (null in this case)
///
[JsonPropertyName("address2_line1")]
- public string? Address2Line1 { get; set; }
+ public string Address2Line1 { get; set; }
///
/// Pinpoint? publisher default locale (null in this case)
///
[JsonPropertyName("pinpoint?publisherdefaultlocale")]
- public string? PinpointPublisherDefaultLocale { get; set; }
+ public string PinpointPublisherDefaultLocale { get; set; }
///
/// County (null in this case)
///
[JsonPropertyName("address1_county")]
- public string? Address1County { get; set; }
+ public string Address1County { get; set; }
///
/// Address 2 UTC offset (null in this case)
///
[JsonPropertyName("address2_utcoffset")]
- public string? Address2UtcOffset { get; set; }
+ public string Address2UtcOffset { get; set; }
///
/// Fax number (null in this case)
///
[JsonPropertyName("address2_fax")]
- public string? Address2Fax { get; set; }
+ public string Address2Fax { get; set; }
///
/// Date and time when modified
///
[JsonPropertyName("modifiedon")]
- public string? ModifiedOn { get; set; }
+ public string ModifiedOn { get; set; }
///
/// Entity image URL (null in this case)
///
[JsonPropertyName("entityimage_url")]
- public string? EntityImageUrl { get; set; }
+ public string EntityImageUrl { get; set; }
///
/// Name (null in this case)
///
[JsonPropertyName("address1_name")]
- public string? Address1Name { get; set; }
+ public string Address1Name { get; set; }
///
/// Address line 1 (null in this case)
///
[JsonPropertyName("address1_line1")]
- public string? Address1Line1 { get; set; }
+ public string Address1Line1 { get; set; }
///
/// Unique name
///
[JsonPropertyName("uniquename")]
- public string? UniqueName { get; set; }
+ public string UniqueName { get; set; }
///
/// Postal code (null in this case)
///
[JsonPropertyName("address1_postalcode")]
- public string? Address1PostalCode { get; set; }
+ public string Address1PostalCode { get; set; }
///
/// Address 2 line 3 (null in this case)
///
[JsonPropertyName("address2_line3")]
- public string? Address2Line3 { get; set; }
+ public string Address2Line3 { get; set; }
///
/// Address 1 address ID
///
[JsonPropertyName("address1_addressid")]
- public string? Address1AddressId { get; set; }
+ public string Address1AddressId { get; set; }
///
/// Publisher ID
///
[JsonPropertyName("publisherid")]
- public string? PublisherId { get; set; }
+ public string PublisherId { get; set; }
///
/// Address 1 line 3 (null in this case)
///
[JsonPropertyName("address1_line3")]
- public string? Address1Line3 { get; set; }
+ public string Address1Line3 { get; set; }
///
/// Address 2 name (null in this case)
///
[JsonPropertyName("address2_name")]
- public string? Address2Name { get; set; }
+ public string Address2Name { get; set; }
///
/// Address 2 city (null in this case)
///
[JsonPropertyName("address2_city")]
- public string? Address2City { get; set; }
+ public string Address2City { get; set; }
///
/// Address 1 UTC offset (null in this case)
///
[JsonPropertyName("address1_utcoffset")]
- public string? Address1UtcOffset { get; set; }
+ public string Address1UtcOffset { get; set; }
///
/// Pinpoint? publisher ID (null in this case)
///
[JsonPropertyName("pinpoint?publisherid")]
- public string? PinpointPublisherId { get; set; }
+ public string PinpointPublisherId { get; set; }
///
/// Address 2 county (null in this case)
///
[JsonPropertyName("address2_county")]
- public string? Address2County { get; set; }
+ public string Address2County { get; set; }
///
/// Email address
///
[JsonPropertyName("emailaddress")]
- public string? EmailAddress { get; set; }
+ public string EmailAddress { get; set; }
///
/// Address 2 post office box (null in this case)
///
[JsonPropertyName("address2_postofficebox")]
- public string? Address2PostOfficeBox { get; set; }
+ public string Address2PostOfficeBox { get; set; }
///
/// State or province (null in this case)
///
[JsonPropertyName("address1_stateorprovince")]
- public string? Address1StateOrProvince { get; set; }
+ public string Address1StateOrProvince { get; set; }
///
/// Address 2 telephone 3 (null in this case)
///
[JsonPropertyName("address2_telephone3")]
- public string? Address2Telephone3 { get; set; }
+ public string Address2Telephone3 { get; set; }
///
/// Address 2 telephone 2 (null in this case)
///
[JsonPropertyName("address2_telephone2")]
- public string? Address2Telephone2 { get; set; }
+ public string Address2Telephone2 { get; set; }
///
/// Address 2 telephone 1 (null in this case)
///
[JsonPropertyName("address2_telephone1")]
- public string? Address2Telephone1 { get; set; }
+ public string Address2Telephone1 { get; set; }
///
/// Address 2 shipping method code
@@ -181,7 +181,7 @@ public class PowerPlatformSolutionPublisher
/// Modified on behalf by value (null in this case)
///
[JsonPropertyName("_modifiedonbehalfby_value")]
- public string? ModifiedOnBehalfByValue { get; set; }
+ public string ModifiedOnBehalfByValue { get; set; }
///
/// Indicates if it is read-only
@@ -193,19 +193,19 @@ public class PowerPlatformSolutionPublisher
/// Address 2 state or province (null in this case)
///
[JsonPropertyName("address2_stateorprovince")]
- public string? Address2StateOrProvince { get; set; }
+ public string Address2StateOrProvince { get; set; }
///
/// Entity image timestamp (null in this case)
///
[JsonPropertyName("entityimage_timestamp")]
- public string? EntityImageTimestamp { get; set; }
+ public string EntityImageTimestamp { get; set; }
///
/// Address 1 latitude (null in this case)
///
[JsonPropertyName("address1_latitude")]
- public string? Address1Latitude { get; set; }
+ public string Address1Latitude { get; set; }
///
/// Customization option value prefix
@@ -217,49 +217,49 @@ public class PowerPlatformSolutionPublisher
/// Address 2 latitude (null in this case)
///
[JsonPropertyName("address2_latitude")]
- public string? Address2Latitude { get; set; }
+ public string Address2Latitude { get; set; }
///
/// Address 1 longitude (null in this case)
///
[JsonPropertyName("address1_longitude")]
- public string? Address1Longitude { get; set; }
+ public string Address1Longitude { get; set; }
///
/// Address 1 line 2 (null in this case)
///
[JsonPropertyName("address1_line2")]
- public string? Address1Line2 { get; set; }
+ public string Address1Line2 { get; set; }
///
/// Friendly name
///
[JsonPropertyName("friendlyname")]
- public string? FriendlyName { get; set; }
+ public string FriendlyName { get; set; }
///
/// Supporting website URL
///
[JsonPropertyName("supportingwebsiteurl")]
- public string? SupportingWebsiteUrl { get; set; }
+ public string SupportingWebsiteUrl { get; set; }
///
/// Address 2 line 2 (null in this case)
///
[JsonPropertyName("address2_line2")]
- public string? Address2Line2 { get; set; }
+ public string Address2Line2 { get; set; }
///
/// Address 2 postal code (null in this case)
///
[JsonPropertyName("address2_postalcode")]
- public string? Address2PostalCode { get; set; }
+ public string Address2PostalCode { get; set; }
///
/// Organization ID value
///
[JsonPropertyName("_organizationid_value")]
- public string? OrganizationIdValue { get; set; }
+ public string OrganizationIdValue { get; set; }
///
/// Version number
@@ -271,61 +271,61 @@ public class PowerPlatformSolutionPublisher
/// Address 2 UPS zone (null in this case)
///
[JsonPropertyName("address2_upszone")]
- public string? Address2UpsZone { get; set; }
+ public string Address2UpsZone { get; set; }
///
/// Address 2 longitude (null in this case)
///
[JsonPropertyName("address2_longitude")]
- public string? Address2Longitude { get; set; }
+ public string Address2Longitude { get; set; }
///
/// Address 1 fax (null in this case)
///
[JsonPropertyName("address1_fax")]
- public string? Address1Fax { get; set; }
+ public string Address1Fax { get; set; }
///
/// Customization prefix
///
[JsonPropertyName("customizationprefix")]
- public string? CustomizationPrefix { get; set; }
+ public string CustomizationPrefix { get; set; }
///
/// Created on behalf by value (null in this case)
///
[JsonPropertyName("_createdonbehalfby_value")]
- public string? CreatedOnBehalfByValue { get; set; }
+ public string CreatedOnBehalfByValue { get; set; }
///
/// Modified by value
///
[JsonPropertyName("_modifiedby_value")]
- public string? ModifiedByValue { get; set; }
+ public string ModifiedByValue { get; set; }
///
/// Date and time when created
///
[JsonPropertyName("createdon")]
- public string? CreatedOn { get; set; }
+ public string CreatedOn { get; set; }
///
/// Address 2 country (null in this case)
///
[JsonPropertyName("address2_country")]
- public string? Address2Country { get; set; }
+ public string Address2Country { get; set; }
///
/// Description (null in this case)
///
[JsonPropertyName("description")]
- public string? Description { get; set; }
+ public string Description { get; set; }
///
/// Address 2 address ID
///
[JsonPropertyName("address2_addressid")]
- public string? Address2AddressId { get; set; }
+ public string Address2AddressId { get; set; }
///
/// Address 1 shipping method code
@@ -337,13 +337,13 @@ public class PowerPlatformSolutionPublisher
/// Address 1 post office box (null in this case)
///
[JsonPropertyName("address1_postofficebox")]
- public string? Address1PostOfficeBox { get; set; }
+ public string Address1PostOfficeBox { get; set; }
///
/// Address 1 UPS zone (null in this case)
///
[JsonPropertyName("address1_upszone")]
- public string? Address1UpsZone { get; set; }
+ public string Address1UpsZone { get; set; }
///
/// Address 1 address type code
@@ -355,49 +355,49 @@ public class PowerPlatformSolutionPublisher
/// Address 1 country (null in this case)
///
[JsonPropertyName("address1_country")]
- public string? Address1Country { get; set; }
+ public string Address1Country { get; set; }
///
/// Entity image ID (null in this case)
///
[JsonPropertyName("entityimageid")]
- public string? EntityImageId { get; set; }
+ public string EntityImageId { get; set; }
///
/// Entity image (null in this case)
///
[JsonPropertyName("entityimage")]
- public string? EntityImage { get; set; }
+ public string EntityImage { get; set; }
///
/// Created by value
///
[JsonPropertyName("_createdby_value")]
- public string? CreatedByValue { get; set; }
+ public string CreatedByValue { get; set; }
///
/// Address 1 telephone 3 (null in this case)
///
[JsonPropertyName("address1_telephone3")]
- public string? Address1Telephone3 { get; set; }
+ public string Address1Telephone3 { get; set; }
///
/// Address 1 city (null in this case)
///
[JsonPropertyName("address1_city")]
- public string? Address1City { get; set; }
+ public string Address1City { get; set; }
///
/// Address 1 telephone 2 (null in this case)
///
[JsonPropertyName("address1_telephone2")]
- public string? Address1Telephone2 { get; set; }
+ public string Address1Telephone2 { get; set; }
///
/// Address 1 telephone 1 (null in this case)
///
[JsonPropertyName("address1_telephone1")]
- public string? Address1Telephone1 { get; set; }
+ public string Address1Telephone1 { get; set; }
}
}
diff --git a/src/Commands/Teams/AddTeamsChannel.cs b/src/Commands/Teams/AddTeamsChannel.cs
index b458da3e8..707e30586 100644
--- a/src/Commands/Teams/AddTeamsChannel.cs
+++ b/src/Commands/Teams/AddTeamsChannel.cs
@@ -60,7 +60,9 @@ protected override void ExecuteCmdlet()
try
{
+#pragma warning disable CS0618 // Type or member is obsolete
var channel = TeamsUtility.AddChannelAsync(AccessToken, Connection, groupId, DisplayName, Description, ChannelType, OwnerUPN, IsFavoriteByDefault).GetAwaiter().GetResult();
+#pragma warning restore CS0618 // Type or member is obsolete
WriteObject(channel);
}
catch (GraphException ex)