- Dependencies
- Updating dependencies to support the latest version of PowerShell Core
- Module
- Added a custom assembly resolve to help address conflicts
- Network
- Increased the HTTP timeout to contend with server latency
- Authentication
- Addressed issue #266 that was impacting the persistent token cache on Linux when libsecret was not installed
- Devices
- Addressed issue #281 that was causing the incorrect output for the creation date of a device batch
- Module
- Addressed issue #261 that was preventing the module from being loaded if the Az module was load first
- Users
- Addressed issue #290 that was causing unexpected behavior when using
ReturnDeletedUsers:$false
- Addressed issue #290 that was causing unexpected behavior when using
- Devices
- Addressed issue #271 that was preventing the
Policies
property from being populated
- Addressed issue #271 that was preventing the
- Authentication
- Addressed issue #268 that was impacting the New-PartnerAccessToken command when trying to get an access token for Exchange Online with a refresh token
- Agreements
- Addressed issue #262 that was preventing Get-PartnerAgreementDocument from being invoked when the
Language
parameter was specified
- Addressed issue #262 that was preventing Get-PartnerAgreementDocument from being invoked when the
- Qualifications
- Addressed issue #258 with the Set-PartnerCustomerQualification command that was preventing API exception information from being parsed as excepted
- Authentication
- Addressed issue #254 with the New-PartnerAccessToken where the Scope parameter was incorrectly being required
- Addressed an issue where NullReferenceException exception was being encountered when invoking Connect-PartnerCenter using a certificate
- Addressed an issue where NullReferenceException exception was being encountered when invoking New-PartnerAccessToken using a certificate
- Defined the refresh token parameter set for the New-PartnerAccessToken command to make it easier to ensure all the appropriate parameters have been specified when exchanging a refresh token for an access token
- Module
- All commands now perform operations asynchronously
- Authentication
- Addressed an issue where NullReferenceException exception was being encountered when invoking Connect-PartnerCenter using a certificate
- Addressed an issue where NullReferenceException exception was being encountered when invoking New-PartnerAccessToken using a certificate
- Defined the refresh token parameter set for the New-PartnerAccessToken command to make it easier to ensure all the appropriate parameters have been specified when exchanging a refresh token for an access token
- Module
- All commands now perform operations asynchronously
- Authentication
- Added the Register-PartnerTokenCache to create, and delete, the control file that determines if a in-memory token cache should be used instead of the default persistent token cache
- Addressed an issue where an InvalidOperationException exception was being encountering with the Connect-PartnerCenter and New-PartnerAccessToken commands when specifying an environment
- Addressed an issue where an InvalidOperationException exception was being encountered under certain circumstances when invoking Connect-PartnerCenter and attempting to authenticate interactively
- Addressed issue #234 that was preventing the New-PartnerAccessToken command from executing successfully when being invoked through an Azure Function app
- Invoice
- Added the Get-PartnerUnbilledInvoiceLineItem command to get unbilled invoice line items
- Removed the
Period
parameter from the Get-PartnerInvoiceLineItem command because the functionality it enabled has been replaced with the Get-PartnerUnbilledInvoiceLineItem command
- Network
- Addressed an issue where the HTTP response from Get-PartnerUser and Get-PartnerUserSignInActivity was not being correctly written to the debug pipeline
- Product Upgrades
- Addressed an issue with starting the upgrade process for an Azure Plan
- Subscription
- Added the
PartnerId
parameter to the Set-PartnerCustomerSubscription command - Addressed issue #228 that was causing issues with enabling and suspend an Azure subscription that is part of an Azure Plan
- Added the
- Authentication
- Addressed issue #230 that was caused by a deadlock
- Authentication
- Updating the Connect-PartnerCenter command to make the
CertificateThumbprint
parameter required for theServicePrincipalCertificate
parameter set
- Updating the Connect-PartnerCenter command to make the
- Security
- Addressed issue #194 that was preventing the Get-PartnerUserSignActivity command from executing as expected in all scenarios
- Subscription
- Added Enable-PartnerAzureSubscription command to enable a suspend Azure subscription that is part of an Azure Plan
- Added Suspend-PartnerAzureSubscription command to suspend an Azure subscription that is part of an Azure Plan
- Removed the
CustomerName
parameter from the New-PartnerAzureSubscription
- Agreement
- Added the Get-PartnerAgreementStatus command to get the status of acceptance of the Microsoft Partner Agreement for the specified partner
- Authentication
- Updated how Connect-PartnerCenter writes warnings during an authentication attempt
- Updated how New-PartnerAccessToken prompts for interaction
- When using Connect-PartnerCenter with an access token the account and tenant information are now extracted from the access token
- Azure
- Added the Get-PartnerAzureBillingPolicy to get the billing policy for the specified customer
- Added the Set-PartnerAzureBillingPolicy to update the billing policy for the specified customer
- Build
- Updating the test project from .NET Core 2.2 to .NET 3.0
- Dependency
- Updated to the latest version of the Partner Center SDK for .NET
- Invoice
- Added the
Period
parameter to the Get-PartnerInvoiceLineItem command to provide a way for the user to specify if they want the current or previous unbilled line items - Addressed issue #202 that was returning request for invoice line items with no errors
- Added the
- Module
- Addressed issue #217 that was impacting executing commands through Azure Automation
- Updated the transient error strategy for network operations
- When running any command with with the
Debug
parameter the request and response from the API will be written to the console in addition to any operation specific debug information
- Security
- Modified the Get-PartnerUser command to leverage a task scheduler for requesting from Microsoft Graph
- Modified the Get-PartnerUserSignActivity command to leverage a task scheduler for requesting from Microsoft Graph
- Updated how Test-PartnerSecurityRequirement prompts for interaction
- Subscription
- Addressed an issue where the request for subscriptions by partner was causing an
InvalidCastException
to be thrown - Corrected the output for the Get-PartnerCustomerAzurePlanEntitlement command
- Addressed an issue where the request for subscriptions by partner was causing an
- Validation
- Addressed a scenario where a
NullReferenceException
could be thrown when running the Test-PartnerAddress command
- Addressed a scenario where a
- Authentication
- Updated how Connect-PartnerCenter writes warnings during an authentication attempt
- Updated how New-PartnerAccessToken prompts for interaction
- Azure
- Added the Set-PartnerAzureSubscription command to update the display name of an Azure subscription provided through an Azure Plan
- Security
- Optimized the Get-PartnerUser command
- Optimized the Get-PartnerUserSignActivity command
- Azure
- Added the Get-PartnerAzureBillingAccount command to get billing accounts where the authenticated user has access
- Added the Get-PartnerAzureBillingProfile to get billing profiles for specified billing account
- Added the New-PartnerAzureSubscription to create a new Azure subscription for Microsoft Partner Agreement billing account
- Security
- Updated the Get-PartnerUser command to ensure all user accounts are returned
- Updated the Get-PartnerUserSignActivity command to ensure all user sign-in activities are returned
- Authentication
- Addressed issue #186 that was preventing access token from being generated when using the device code flow
- Security
- Addressed issue preventing the Test-PartnerSecurityRequirement command from working as expected
- Authentication
- Addressed issue preventing CTRL+C from interrupting the waiting for a response during the interactive authentication scenario
- Invoicing
- Daily Rated Usage Line Item
- Added the EntitlementId, EntitlementDescription, PCToBCExchangeRate, PCToBCExchangeRateDate, EffectiveUnitPrice, and RateOfPartnerEarnedCredit properties
- Modified the type for the AdditionalInfo and Tags properties from string to Dictionary<string, string>
- One Time Invoice Line Item
- Added the BillableQuantity, MeterDescription, PCToBCExchangeRateDate, PCToBCExchangeRate, PriceAdjustmentDescription, and PricingCurrency properties
- Daily Rated Usage Line Item
- Product Upgrades
- Added the Get-PartnerProductUpgrade command to get information on product upgrades for the specified customer
- Added the Get-PartnerProductUpgradeEligibility command to determine if the specified customer has a product eligible for an upgrade
- Added the Get-PartnerProductUpgradeStatus command to get the status for product upgrades for the specified customer
- Added the New-PartnerProductUpgrade command to perform an upgrade for the specified customer
- Security
- Added the Get-PartnerUser command to get partner user accounts
- Added the Get-PartnerUserSignActivity command to get sign-in activities for the specified user account
- Added the Get-PartnerUser command to get partner user accounts
- Subscriptions
- Added the Get-PartnerCustomerAzurePlanEntitlement command to get entitlement information for an Azure Plan
- Usage
- Added the Get-PartnerCustomerUsageRecord command to get month usage records for all customers
- Removed the
Get-PartnerCustomerSubscriptionUsage
command due to changes with the Partner Center SDK for .NET. This command will be replaced with the Get-PartnerCustomerSubscriptionMeterUsage and Get-PartnerCustomerSubscriptionResourceUsage commands
- Dependency
- Corrected an issue that was preventing a dependency from being updated after a successful build
- Authentication
- Log events from the Microsoft Authentication Library (MSAL) will now be written to the console when the debug flag is set
- Authentication
- Address issue #156 where the refresh token was not being returned if it had not been previously used by the module during an interactive authentication attempt
- After successfully authenticating the module will attempt to get country and locale based on the partner organization profile
- Security
- Adding the Test-PartnerSecurityRequirement command to help validate that the authenticating account was challenged for multi-factor authentication
- Authentication
- Addressed issue #153 that was preventing the New-PartnerAccessToken command from working as expected.
- Agreements
- Added the Get-PartnerAgreementTemplate command to provide access to the links download or view the Microsoft Customer Agreement
- Added the ability to request the Microsoft Customer Agreement template metadata
- The AgreementType enumeration has been removed, and where it was used the type has changed to a string
- Authentication
- Added the ability to invoke Connect-PartnerCenter without requiring the creation of an Azure Active Directory application
- Enabled interactive login support for cross-platform by default
- Device code flow login is now the backup option of interactive login fails, or the user provides the
-UseDeviceAuthentication
switch parameter - Token cache is now shared with other products, such as Azure CLI and Visual Studio 2019
- Module
- The
PartnerCenter
module now supports PowerShell 5.1 and PowerShell, as a result thePartnerCenter.NetCore
module will be retired
- The
- Subscriptions
- Added the New-PartnerCustomerSubscriptionActivation command to make it where third-party subscriptions can be activated in the integration sandbox
- Authentication
- Transitioned from Active Directory Authentication Library (ADAL) to the Microsoft Authentication Library (MSAL)
- Roles
- Added the Get-PartnerRole command to get partner roles
- Added the Get-PartnerRoleMember command to get the members for the specified partner role
- Devices
- Modified the output for the New-PartnerCustomerDeviceBatch command.
- Agreements
- Removed the UserId parameter from the New-PartnerCustomerAgreement command
- Devices
- Addressed an issue preventing the successful creation of a device batch
- Users
- Added the following properties to the user model
- ImmutableId
- PhoneNumber
- Added the following properties to the user model
- Invoices
- Addressed issue #117, where the cannot access stream error was being thrown
- Subscriptions
- Added breaking change warning for the removal the AutoRenew flag from the Set-PartnerCustomerSubscription command
- Authentication
- Addressed issue #113, where the access token would expire for long running operations
- Network
- Any operation that is aborted due to task cancellation exception will now be retired three times
- Utilization
- Added the page size parameter to the Get-PartnerCustomerSubscriptionUtilization command
- Auditing
- Renamed the CreateInvoice operation type to ReadyInvoice
- Invoices
- Renamed the reconciliation line item objects
- Users
- No longer throw an error when searching for a user with UPN that does not exists
- Utilization
- Modified the default end date value for the Get-PartnerCustomerSubscriptionUtilization command to use UTC time
- Products
- Addressed an issue with requesting products
- Auditing
- Added new operation and resource types
- Authentication
- Added support for the pre-production environment
- Customers
- Added the ability to manage customer qualifications
- Corrected issue #90 that was causing directory role operations to not function as excepted
- Corrected issue #91 that was causing searching for a customer by domain to not function as expected
- Carts
- Added the Status property to the Cart model
- Added the TermDuration property to the CartLineItem model
- Entitlements
- Added the ability to obtain the expiration date for the entitlement (if applicable)
- Added the AlternateId property to the reference order object
- Added the following properties to the Entitlement model
- FulfillmentState
- ExpiryDate
- Invoice
- Added the ability to download the tax receipt
- Added the following properties to the OneTimeInvoiceLineItem model
- AlternateId
- ChargeEndDate
- ChargeStartDate
- PublisherId
- PublisherName
- SubscriptionDescription
- SubscriptionId
- TermAndBillingCycle
- UnitType
- Removed Azure Data Market billing provider type and models because this is no longer supported
- Orders
- Added the ability to get the activation link for an order line item
- Added the ability to get the provisioning status of an order
- Added the ability to include pricing details when requesting order information
- Addressed an issue with requesting an order by the billing cycle
- Products
- Added the following properties to the Availability model
- IsPurchasable
- IsRenewable
- Terms
- Added the following properties to the Product model
- IsMicrosoftProduct
- PublisherName
- Corrected an issue with requesting products by country, target view, and target segment
- Removed the SKU download operations. No commands where impacted by this change
- Added the following properties to the Availability model
- Subscriptions
- Added the following properties to the subscription model
- IsMicrosoftProduct
- PublisherName
- RefundOptions
- TermDuration
- Added the following properties to the subscription model
- Users
- Corrected an issue with performing a query for users from a customer
- Utilization
- Addressed an issue caused by the Partner Center API return a HTTP 204 no content when Azure utilization data is not yet ready in a dependent system.
- Validations
- Added the ability to request validation codes used to create Government Community Cloud customers
- Added the New-PartnerCustomerApplicationConsent command
- This command can be used to create a new application consent for the specified customer
- Update to version 10.0.3 of Newtonsoft.Json