< Back

Get-AzureRmIntegrationAccountGeneratedIcn

Tue Jan 29, 2019 9:51 pm

NAME Get-AzureRmIntegrationAccountGeneratedIcn



SYNOPSIS

This cmdlet retrieves the current value of the generated interchange control number per agreement.





SYNTAX

Get-AzureRmIntegrationAccountGeneratedIcn [-AgreementName <String>] [-AgreementType {X12 | Edifact}] [-DefaultProfile <IAzureContextContainer>]

-Name <String> -ResourceGroupName <String> [<CommonParameters>]





DESCRIPTION

This cmdlet is meant to be used in disaster recovery scenarios to retrieve the current value of the generated interchange control number so to

write back an increased value with Set-AzureRmIntegrationAccountGeneratedIcn. The interchange control number should be increased to avoid

duplicate interchange control numbers for the numbers that could not yet be replicated to the passive region when the disaster happened in the

active region. Please do provide the "-AgreementType" parameter to specify whether X12 or Edifact control numbers to return





PARAMETERS

-AgreementName <String>

The integration account agreement name.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-AgreementType <String>

The integration account agreement type.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

The integration account name.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

The integration account resource group name.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String







OUTPUTS

Microsoft.Azure.Commands.LogicApp.Utilities.IntegrationAccountClient+IntegrationAccountControlNumber







NOTES









Example 1



PS C:\\> Get-AzureRmIntegrationAccountGeneratedIcn -AgreementType "X12" -ResourceGroupName "ResourceGroup1" -Name "IntegrationAccount1"

-AgreementName "X12IntegrationAccountAgreement"

ControlNumber : 1000

ControlNumberChangedTime : 2/15/2017 12:36:00 AM

IsMessageProcessingFailed:



This command gets the integration account generated X12 interchange control number by agreement name. Please make sure agreement specified is of

type "X12"





Example 2



PS C:\\> Get-AzureRmIntegrationAccountGeneratedIcn -AgreementType "Edifact" -ResourceGroupName "ResourceGroup1" -Name "IntegrationAccount1"

-AgreementName "EdifactIntegrationAccountAgreement"

ControlNumber : 1000

ControlNumberChangedTime : 2/15/2017 12:36:00 AM

IsMessageProcessingFailed:



This command gets the integration account generated Edifact interchange control number by agreement name. Please make sure agreement specified is

of type "Edifact"





Example 3



PS C:\\> Get-AzureRmIntegrationAccountGeneratedIcn -AgreementType "X12" -ResourceGroupName "ResourceGroup1" -Name "IntegrationAccount1"

ControlNumber : 1000

ControlNumberChangedTime : 2/22/2017 8:05:41 PM

AgreementName : X12IntegrationAccountAgreement1

IsMessageProcessingFailed:



ControlNumber : 1000

ControlNumberChangedTime : 2/22/2017 8:05:41 PM

AgreementName : X12IntegrationAccountAgreement2

IsMessageProcessingFailed:



ControlNumber : No generated control number was found for this agreement.

ControlNumberChangedTime : 1/1/0001 12:00:00 AM

AgreementName : X12IntegrationAccountAgreement3

IsMessageProcessingFailed:



This command gets all the generated X12 interchange control numbers by integration account name.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... neratedicn

Set-AzureRmIntegrationAccountGeneratedIcn