Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Add-PartnerCustomerUserRoleMember doesn't work #90

@sirovermark

Description

@sirovermark

Steps to reproduce

Add-PartnerCustomerUserRoleMember -CustomerId $CustomerId -UserId '$UserId -RoleId $RoleId
Add-PartnerCustomerUserRoleMember : 2000 Customer id is required.
At line:1 char:9
+ Add-PartnerCustomerUserRoleMember -CustomerId 'xxxxxxx-xxxxxxxx ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Add-PartnerCustomerUserRoleMember], PartnerPSException
    + FullyQualifiedErrorId : Microsoft.Store.PartnerCenter.PowerShell.Exceptions.PartnerPSException,Microsoft.Store.PartnerCenter.PowerShell.Commands.AddPartnerCustomerUserRoleMember

Actual behavior

It throws an error because CustomerId even it's ok.

Diagnostic logs

Please share test platform diagnostics logs.
The logs may contain test assembly paths, kindly review and mask those before sharing.

Environment

Get-Module PartnerCenter | select Name,Version

Name          Version   
----          -------   
PartnerCenter 1.5.1902.5

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions