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
Registers an Azure AD App and optionally creates a new self-signed certificate to use with the application registration. You can login either with username/password or you can use the -DeviceLogin option if your tenant has been configured for Multi-Factor Authentication.
57
+
Registers an Azure AD App and optionally creates a new self-signed certificate to use with the application registration.
68
58
69
-
Note: if you want to use the newly created app to authenticate with username/password you will have to make a modification to the app. Navigate to the application registration in your Azure AD, select the Authentication section, and set `Allow public client flows` to `yes`. Alternatively, navigate to the `Manifest` section and set `allowPublicClient`to `true`.
59
+
Note: if you want to use the newly created app to authenticate with username/password. Use `Register-PnPEntraIDAppForInteractiveLogin` to create an app that allows users to login with.
Creates a new Azure AD Application registration, creates a new self signed certificate, and adds it to the local certificate store. It will upload the certificate to the azure app registration and it will request the following permissions: Sites.FullControl.All, Group.ReadWrite.All, User.Read.All. A browser window will be shown allowing you to authenticate.
Creates a new Azure AD Application registration which will use the existing private key certificate at the provided path to allow access. It will upload the provided private key certificate to the azure app registration and it will request the following permissions: Sites.FullControl.All, Group.ReadWrite.All, User.Read.All. A browser window will be shown allowing you to authenticate.
Creates a new Azure AD Application registration, creates a new self signed certificate, and adds it to the local certificate store. It will upload the certificate to the azure app registration and it will request the following permissions: Sites.Read.All, User.Read.All. A browser window will be shown allowing you to authenticate.
Creates a new Azure AD Application registration, creates a new self signed certificate, and stores the public and private key certificates in c:\. The private key certificate will be locked with the password "password". It will upload the certificate to the azure app registration and it will request the following permissions: Sites.FullControl.All, Group.ReadWrite.All, User.Read.All. A browser window will be shown allowing you to authenticate.
@@ -106,56 +97,20 @@ Creates a new Azure AD Application registration and asks you to authenticate usi
Creates a new Azure AD Application registration and asks you to authenticate using username and password, creates a new self signed certificate, and adds it to the local certificate store. It will upload the certificate to the azure app registration and it will request the following permissions: Sites.FullControl.All, Group.ReadWrite.All, User.Read.All
Creates a new Azure AD Application registration which will use the existing private key certificate at the provided path to allow access. It will upload the provided private key certificate to the azure app registration and it will request the following permissions: Sites.FullControl.All, Group.ReadWrite.All, User.Read.All. It will also set the `logo.png` file as the logo for the Azure AD app.
120
111
121
112
## PARAMETERS
122
113
123
-
### -Interactive
124
-
If specified, an interactive authentication flow will be started, allowing your to authenticate with username, password and an optional second factor from your phone or other device.
125
-
126
-
```yaml
127
-
Type: SwitchParameter
128
-
Parameter Sets: (All)
129
-
130
-
Required: False
131
-
Position: Named
132
-
Accept pipeline input: False
133
-
```
134
-
135
-
### -Username
136
-
The username to use when logging into the Microsoft Graph. Notice that this user account needs to have write access to the Azure AD.
137
-
138
-
```yaml
139
-
Type: String
140
-
Parameter Sets: (All)
141
-
142
-
Required: False
143
-
Position: Named
144
-
Accept pipeline input: False
145
-
```
146
-
147
-
### -Password
148
-
The password to use when logging into the Microsoft Graph.
149
-
150
-
```yaml
151
-
Type: String
152
-
Parameter Sets: (All)
153
-
154
-
Required: False
155
-
Position: Named
156
-
Accept pipeline input: False
157
-
```
158
-
159
114
### -DeviceLogin
160
115
If specified, a device login flow, supporting Multi-Factor Authentication will be used to authenticate towards the Microsoft Graph.
161
116
@@ -372,20 +327,6 @@ Position: 7
372
327
Accept pipeline input: False
373
328
```
374
329
375
-
### -NoPopup
376
-
This switch only applies to Windows and has no effect on Linux and MacOS.
377
-
378
-
If not specified and running on Windows, all authentication and consent steps will be presented in a popup. If you want to open the URLs manually in a browser, specify this switch.
379
-
380
-
```yaml
381
-
Type: SwitchParameter
382
-
Parameter Sets: (All)
383
-
384
-
Required: False
385
-
Position: Named
386
-
Accept pipeline input: False
387
-
```
388
-
389
330
### -AzureEnvironment
390
331
The Azure environment to use for authentication, the defaults to 'Production' which is the main Azure environment.
391
332
@@ -454,21 +395,6 @@ Position: Named
454
395
Accept pipeline input: False
455
396
```
456
397
457
-
### -LaunchBrowser
458
-
Launch a browser automatically and copy the code to enter to the clipboard
459
-
460
-
```yaml
461
-
Type: SwitchParameter
462
-
Parameter Sets: DeviceLogin
463
-
Aliases:
464
-
465
-
Required: False
466
-
Position: Named
467
-
Default value: False
468
-
Accept pipeline input: False
469
-
Accept wildcard characters: False
470
-
```
471
-
472
398
## RELATED LINKS
473
399
474
400
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
Registers an Entra ID App for use with the interactive login on Connect-PnPOnline. You will have to specify either -Interactive or -DeviceLogin to authenticate.
45
+
Registers an Entra ID App for use with the interactive login on Connect-PnPOnline. By default it assumes an Interactive login, but you can decide to use Device Login auth by specifying -DeviceLogin.
Creates a new Entra ID Application registration. The application will be setup with the following delegate permissions to consent: AllSites.FullControl, Group.ReadWrite.All, User.ReadWrite.All, TermStore.ReadWrite.All. A browser window will be shown allowing you to authenticate.
Creates a new Entra ID Application registration. The application will be setup with the following delegate permissions to consent: Group.Read.All, AllSites.FullControl. A browser window will be shown allowing you to authenticate.
67
62
68
63
## PARAMETERS
69
64
70
-
### -Interactive
71
-
If specified, an interactive authentication flow will be started, allowing your to authenticate with username, password and an optional second factor from your phone or other device.
72
-
73
-
```yaml
74
-
Type: SwitchParameter
75
-
Parameter Sets: (All)
76
-
77
-
Required: False
78
-
Position: Named
79
-
Accept pipeline input: False
80
-
```
81
-
82
65
### -DeviceLogin
83
66
If specified, a device login flow, supporting Multi-Factor Authentication will be used to authenticate towards the Microsoft Graph.
84
67
@@ -163,20 +146,6 @@ Position: Named
163
146
Accept pipeline input: False
164
147
```
165
148
166
-
### -NoPopup
167
-
This switch only applies to Windows and has no effect on Linux and MacOS.
168
-
169
-
If not specified and running on Windows, all authentication and consent steps will be presented in a popup. If you want to open the URLs manually in a browser, specify this switch.
170
-
171
-
```yaml
172
-
Type: SwitchParameter
173
-
Parameter Sets: (All)
174
-
175
-
Required: False
176
-
Position: Named
177
-
Accept pipeline input: False
178
-
```
179
-
180
149
### -AzureEnvironment
181
150
The Azure environment to use for authentication, the defaults to 'Production' which is the main Azure environment.
182
151
@@ -245,21 +214,6 @@ Position: Named
245
214
Accept pipeline input: False
246
215
```
247
216
248
-
### -LaunchBrowser
249
-
Launch a browser automatically and copy the code to enter to the clipboard
250
-
251
-
```yaml
252
-
Type: SwitchParameter
253
-
Parameter Sets: DeviceLogin
254
-
Aliases:
255
-
256
-
Required: False
257
-
Position: Named
258
-
Default value: False
259
-
Accept pipeline input: False
260
-
Accept wildcard characters: False
261
-
```
262
-
263
217
## RELATED LINKS
264
218
265
219
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
0 commit comments