Skip to content

Commit 51499da

Browse files
removing dotnet pack, and adding link to vs doc to app-sync tool readme (#1060)
* removing dotnet pack, and adding link to vs doc to app-sync tool readme * Update tools/app-provisioning-tool/README.md * Update tools/app-provisioning-tool/README.md * Update tools/app-provisioning-tool/README.md * Update tools/app-provisioning-tool/README.md * Update tools/app-provisioning-tool/README.md Co-authored-by: Jean-Marc Prieur <[email protected]>
1 parent fe47497 commit 51499da

File tree

1 file changed

+28
-9
lines changed

1 file changed

+28
-9
lines changed

tools/app-provisioning-tool/README.md

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,34 @@
11
# msidentity-app-sync
22
Command line tool that creates Microsoft identity platform applications in a tenant (AAD or B2C) and updates the configuration code of your ASP.NET Core applications (mvc, webapp, blazorwasm, blazorwasm hosted, blazorserver). The tool can also be used to update code from an existing AAD/AAD B2C application.
33

4+
5+
46
## Installing/Uninstalling the tool
57

6-
1. Build the repository and create the NuGet package (from the `tools\app-provisioning-tool` folder):
7-
8-
```Shell
9-
dotnet pack
10-
```
11-
12-
2. Run the following in a developer command prompt in the `tools\app-provisioning-tool` folder:
8+
You have two ways of installing the CLI tool:
9+
- either from NuGet
10+
- or build it and install it from the repository
11+
12+
### Option 1: Install from NuGet
13+
14+
The following command will install the tool from NuGet.org
15+
16+
```Shell
17+
dotnet tool install --global msidentity-app-sync
1318

14-
```Shell
15-
dotnet tool install --global --add-source app-provisioning-tool\nupkg msidentity-app-sync
19+
### Option 2: build and install from the repository
20+
21+
You can clone the repository, build the tool and install it
22+
23+
```Shell
24+
git clone https://github.com/AzureAD/microsoft-identity-web
25+
cd tools\app-provisionning-tool
26+
dotnet pack
27+
dotnet tool install --global --add-source app-provisioning-tool\nupkg msidentity-app-sync
1628
```
1729

30+
### Uninstalling the tool
31+
1832
If later you want to uninstall the tool, just run (from anywhere):
1933
```Shell
2034
dotnet tool uninstall --global msidentity-app-sync
@@ -196,3 +210,8 @@ dotnet new blazorwasm --auth SingleOrg --framework netcoreapp3.1
196210
msidentity-app-sync
197211
dotnet run -f netstandard2.1
198212
```
213+
214+
215+
## See Also
216+
217+
- [Creating ASP.NET Core projects with Microsoft identity platform(Azure AD and Azure AD B2C)](vs2019-16.9-how-to-use.md)

0 commit comments

Comments
 (0)