< Back

Approve-CrmEmailAddress

Sat Jan 18, 2020 3:57 pm

NAME Approve-CrmEmailAddress



SYNOPSIS

Approve email address change of a user or a queue.





SYNTAX

Approve-CrmEmailAddress [-conn <CrmServiceClient>] [-UserId] <String> [<CommonParameters>]



Approve-CrmEmailAddress [-conn <CrmServiceClient>] [-QueueId] <String> [<CommonParameters>]





DESCRIPTION

The Approve-CrmEmailAddress cmdlet lets you approves email address change of a user or a queue.





PARAMETERS

-conn <CrmServiceClient>

A connection to your CRM organization. Use $conn = Get-CrmConnection <Parameters> to generate it.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-UserId <String>

A record Id of User.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-QueueId <String>

A record Id of Queue.



Required? true

Position? 1

Default value

Accept pipeline input? false

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS









OUTPUTS









NOTES









-------------------------- Example 1 --------------------------



Approve-CrmEmailAddress -conn $conn -UserId 00005a70-6317-e511-80da-c4346bc43d94



This example approves email address for a user.







-------------------------- Example 2 --------------------------



Approve-CrmEmailAddress -UserId 00005a70-6317-e511-80da-c4346bc43d94



This example approves email address for a user by omitting parameters names.

When omitting parameter names, you do not provide $conn, cmdlets automatically finds it.







-------------------------- Example 3 --------------------------



Approve-CrmEmailAddress -conn $conn -QueueId 00005a70-6317-e511-80da-c4346bc43d94



This example approves email address for a queue.









RELATED LINKS