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.

Cannot retrieve ExchangeOnline Access Token using Refresh Token #268

@protocolist

Description

@protocolist

Steps to reproduce

The issue is similar to #254

Run the command to exchange a refresh token for an access token as per microsoft documentation here, after first getting the refresh token:

$token = New-PartnerAccessToken -Module ExchangeOnline -RefreshToken $token.RefreshToken -Tenant $customerId

Expected behavior

An object with an Access Token is returned

Actual behavior

Powershell requests a scope

$token = New-PartnerAccessToken -Module ExchangeOnline -RefreshToken $token.RefreshToken -Tenant $customerId

cmdlet New-PartnerAccessToken at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
Scopes[0]:

Diagnostic logs

Environment

PartnerCenter 3.0.5
PSVersion 5.1.17763.771

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions