You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+14-11Lines changed: 14 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,11 @@ This repository contains a set of PowerShell commands for administrators and dev
11
11
Run the following command in an elevated PowerShell session to install the Partner Center module:
12
12
13
13
```powershell
14
+
# Install the Partner Center PowerShell module
14
15
Install-Module -Name PartnerCenter
16
+
17
+
# Install the Partner Center PowerShell module for PowerShell Core
18
+
Install-Module -Name PartnerCenter.NetCore
15
19
```
16
20
17
21
If you have an earlier version of the Partner Center PowerShell modules installed from the PowerShell Gallery and would like to update to the latest version, run the following commands from an elevated PowerShell session.
@@ -21,6 +25,9 @@ If you have an earlier version of the Partner Center PowerShell modules installe
21
25
```powershell
22
26
# Install the latest version of the Partner Center PowerShell module
23
27
Update-Module -Name PartnerCenter
28
+
29
+
# Install the latest version of the Partner Center PowerShell module for PowerShell Core
30
+
Update-Module -Name PartnerCenter.NetCore
24
31
```
25
32
26
33
## Usage
@@ -31,28 +38,24 @@ To connect to Partner Center, use the [`Connect-PartnerCenter`](docs/help/Connec
31
38
32
39
#### Service Principal
33
40
34
-
The following example demonstrates how to connect using a service principal. Using this approach will leverage the app only authentication flow. It is important to note that not all Partner Center operations support this type of authentication. If you have not already created an Azure AD application then please follow the steps documented in the [Web App](#Web-App) section below.
41
+
The following example demonstrates how to connect using a service principal. It is important to note that not all Partner Center operations support this type of authentication. If you have not already created an Azure AD application, then follow the steps documented in the [Web App](#Web-App) section below.
The following examples demonstrate how to connect using user credentials. Using this approach will leverage the app + user authentication flow. If you have not already configured an Azure AD application for use with this command then please see the steps documented in the [Native App](#Native-App) section below.
54
+
The following examples demonstrate how to connect using user credentials. Using this approach will leverage app + user authentication. If you have not already configured an Azure AD application for use with this command then, see the steps documented in the [Native App](#Native-App) section below.
48
55
49
56
```powershell
50
57
# Interactive login - a dialog box will appear for you to provide your Partner Center credentials
1. Sign in to the [Partner Center](https://partner.microsoft.com/cloud-solution-provider/csp-partner) using credentials that have *Admin Agent* and *Global Admin* privileges
113
116
2. Click on _Dashboard_ at the top of the page, then click on the cog icon in the upper right, and then click the _Partner settings_.
114
117
3. Add a new native application if one does not exist already.
115
-
4. Sign in to the [Azure management portal](https://portal.azure.com) using the same credentials from step 1.
118
+
4. Sign in to the [classic portal](https://portal.azure.com) using the same credentials from step 1.
116
119
5. Click on the _Azure Active Directory_ icon in the toolbar.
117
120
6. Click _App registrations_ -> Select _All apps_ from the drop down -> Click on the application created in step 3.
118
121
7. Click _Settings_ and then click _Redirect URIs_
1. Sign in to the [Partner Center](https://partner.microsoft.com/cloud-solution-provider/csp-partner) using credentials that have *Admin Agent* and *Global Admin* privileges
124
127
2. Click on _Dashboard_ at the top of the page, then click on the cog icon in the upper right, and then click the _Partner settings_.
125
-
3. Add a new web application if one does not exist already.
128
+
3. Add a new web application if one does not exist already.
ReleaseNotes='Added the ability to get offer categories. Retired the Get-PartnerCustomerRelationship command. Removed the ability to pass user credentials when connecting due to security changes with the Partner Center API.'
0 commit comments