TenantToTenant-UploadUserMappingFile

Generates resource storage and uploads a user mapping file for a specified environment.

Syntax

Default (Default)

TenantToTenant-UploadUserMappingFile
    [-EnvironmentName] <String>
    [-UserMappingFilePath] <String>
    [[-ApiVersion] <String>]
    [<CommonParameters>]

Description

This cmdlet combines the generation of resource storage and the upload of a user mapping file into a single step.

Examples

EXAMPLE 1

TenantToTenant-UploadUserMappingFile -EnvironmentName "00aa00aa-bb11-cc22-dd33-44ee44ee44ee" -UserMappingFilePath "C:\path\to\usermapping.csv"

Establishes the needed resource storage for the specified Power Platform environment (identified by the GUID you pass to -EnvironmentName) and then uploads the user‑mapping CSV file.

Parameters

-ApiVersion

The API version to call with. Default is 2021-04-01.

Parameter properties

Type:String
Default value:2021-04-01
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:3
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-EnvironmentName

The ID of the Power Platform environment.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-UserMappingFilePath

The full path to the user mapping file (e.g., C:\path\to\usermapping.csv).

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.