Skip to content

Commit b0b8dd0

Browse files
authored
Merge pull request #98927 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to master to sync with https://github.com/Microsoft/azure-docs (branch master)
2 parents 2a0496d + 2cdb266 commit b0b8dd0

File tree

5 files changed

+39
-18
lines changed

5 files changed

+39
-18
lines changed

articles/active-directory/develop/msal-net-migration-ios-broker.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ result = await app.AcquireTokenInteractive(scopes)
143143
</table>
144144

145145
### Step 3: Update AppDelegate to handle the callback
146-
Both ADAL and MSAL call the broker, and the broker in turn calls back to your application through the `OpenUrl` method of the `AppDelegate` class. For more information, see [this documentation](msal-net-use-brokers-with-xamarin-apps.md#step-2-update-appdelegate-to-handle-the-callback).
146+
Both ADAL and MSAL call the broker, and the broker in turn calls back to your application through the `OpenUrl` method of the `AppDelegate` class. For more information, see [this documentation](msal-net-use-brokers-with-xamarin-apps.md#step-3-update-appdelegate-to-handle-the-callback).
147147

148148
There are no changes here between ADAL.NET and MSAL.NET.
149149

@@ -217,6 +217,7 @@ Uses
217217
<key>LSApplicationQueriesSchemes</key>
218218
<array>
219219
<string>msauthv2</string>
220+
<string>msauthv3</string>
220221
</array>
221222
```
222223
</table>
@@ -243,7 +244,7 @@ Example:
243244

244245
</table>
245246

246-
For more information about how to register the redirect URI in the portal, see [Leverage the broker in Xamarin.iOS applications](msal-net-use-brokers-with-xamarin-apps.md#step-7-make-sure-the-redirect-uri-is-registered-with-your-app).
247+
For more information about how to register the redirect URI in the portal, see [Leverage the broker in Xamarin.iOS applications](msal-net-use-brokers-with-xamarin-apps.md#step-8-make-sure-the-redirect-uri-is-registered-with-your-app).
247248

248249
## Next steps
249250

articles/active-directory/develop/msal-net-use-brokers-with-xamarin-apps.md

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,21 @@ var app = PublicClientApplicationBuilder
4343
.Build();
4444
```
4545

46-
### Step 2: Update AppDelegate to handle the callback
46+
### Step 2: Enable keychain access
47+
48+
To enable keychain access, your application must have a keychain access group. You can use the `WithIosKeychainSecurityGroup()` API to set your keychain access group when you create your application:
49+
50+
```csharp
51+
var builder = PublicClientApplicationBuilder
52+
.Create(ClientId)
53+
54+
.WithIosKeychainSecurityGroup("com.microsoft.adalcache")
55+
.Build();
56+
```
57+
58+
For more information, see [Enable keychain access](msal-net-xamarin-ios-considerations.md#enable-keychain-access).
59+
60+
### Step 3: Update AppDelegate to handle the callback
4761
When the Microsoft Authentication Library for .NET (MSAL.NET) calls the broker, the broker in turn calls back to your application through the `OpenUrl` method of the `AppDelegate` class. Because MSAL waits for the response from the broker, your application needs to cooperate to call MSAL.NET back. To enable this cooperation, update the `AppDelegate.cs` file to override the following method.
4862

4963
```csharp
@@ -68,7 +82,7 @@ public override bool OpenUrl(UIApplication app, NSUrl url,
6882

6983
This method is invoked every time the application is launched. It's used as an opportunity to process the response from the broker and complete the authentication process initiated by MSAL.NET.
7084

71-
### Step 3: Set a UIViewController()
85+
### Step 4: Set a UIViewController()
7286
Still in `AppDelegate.cs`, you need to set an object window. Normally, with Xamarin iOS, you don't need to set the object window. To send and receive responses from the broker, you need an object window.
7387

7488
To do this, you do two things.
@@ -94,7 +108,7 @@ result = await app.AcquireTokenInteractive(scopes)
94108
.ExecuteAsync();
95109
```
96110

97-
### Step 4: Register a URL scheme
111+
### Step 5: Register a URL scheme
98112
MSAL.NET uses URLs to invoke the broker and then return the broker response back to your app. To finish the round trip, register a URL scheme for your app in the `Info.plist` file.
99113

100114
The `CFBundleURLSchemes` name must include `msauth.` as a prefix, followed by your `CFBundleURLName`.
@@ -124,7 +138,7 @@ The `CFBundleURLSchemes` name must include `msauth.` as a prefix, followed by yo
124138
</array>
125139
```
126140

127-
### Step 5: Add the broker identifier to the LSApplicationQueriesSchemes section
141+
### Step 6: Add the broker identifier to the LSApplicationQueriesSchemes section
128142
MSAL uses `–canOpenURL:` to check if the broker is installed on the device. In iOS 9, Apple locked down what schemes an application can query for.
129143

130144
Add `msauthv2` to the `LSApplicationQueriesSchemes` section of the `Info.plist` file.
@@ -133,10 +147,11 @@ Add `msauthv2` to the `LSApplicationQueriesSchemes` section of the `Info.plist`
133147
<key>LSApplicationQueriesSchemes</key>
134148
<array>
135149
<string>msauthv2</string>
150+
<string>msauthv3</string>
136151
</array>
137152
```
138153

139-
### Step 6: Register your redirect URI in the application portal
154+
### Step 7: Register your redirect URI in the application portal
140155
Using the broker adds an extra requirement on your redirect URI. The redirect URI _must_ have the following format:
141156
```csharp
142157
$"msauth.{BundleId}://auth"
@@ -147,7 +162,7 @@ public static string redirectUriOnIos = "msauth.com.yourcompany.XForms://auth";
147162
```
148163
Notice that the redirect URI matches the `CFBundleURLSchemes` name you included in the `Info.plist` file.
149164

150-
### Step 7: Make sure the redirect URI is registered with your app
165+
### Step 8: Make sure the redirect URI is registered with your app
151166

152167
This redirect URI needs to be registered on the app registration portal (https://portal.azure.com) as a valid redirect URI for your application.
153168

@@ -181,4 +196,4 @@ The MSAL Android native library already supports it. For details see [Brokered a
181196

182197
## Next steps
183198

184-
Learn about [Universal Windows Platform-specific considerations with MSAL.NET](msal-net-uwp-considerations.md).
199+
Learn about [Universal Windows Platform-specific considerations with MSAL.NET](msal-net-uwp-considerations.md).

articles/azure-functions/functions-host-json.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,15 @@ The following sections of this article explain each top-level property. All are
9090

9191
This setting is a child of [logging](#logging).
9292

93-
Controls the [sampling feature in Application Insights](./functions-monitoring.md#configure-sampling).
93+
Controls options for Application Insights, including [sampling options](./functions-monitoring.md#configure-sampling).
9494

9595
```json
9696
{
97-
"applicationInsights": {
97+
"applicationInsights": {
98+
"enableDependencyTracking": true,
99+
"enablePerformanceCountersCollection": true,
100+
"samplingExcludedTypes": "Trace;Exception",
101+
"samplingIncludedTypes": "Request;Dependency",
98102
"samplingSettings": {
99103
"isEnabled": true,
100104
"maxTelemetryItemsPerSecond" : 20
@@ -108,11 +112,12 @@ Controls the [sampling feature in Application Insights](./functions-monitoring.m
108112
109113
|Property |Default | Description |
110114
|---------|---------|---------|
111-
|isEnabled|true|Enables or disables sampling.|
112-
|maxTelemetryItemsPerSecond|20|The threshold at which sampling begins.|
113-
|EnableLiveMetrics |true|Enables live metrics collection.|
114-
|EnableDependencyTracking|true|Enables dependency tracking.|
115-
|EnablePerformanceCountersCollection|true|Enables Kudu performance counters collection.|
115+
|enableDependencyTracking|true|Enables dependency tracking.|
116+
|enablePerformanceCountersCollection|true|Enables performance counters collection.|
117+
|samplingExcludedTypes|null|A semi-colon delimited list of types that you do not want to be sampled. Recognized types are: Dependency, Event, Exception, PageView, Request, Trace. All instances of the specified types are transmitted; the types that are not specified are sampled.|
118+
|samplingIncludedTypes|null|A semi-colon delimited list of types that you want to be sampled. Recognized types are: Dependency, Event, Exception, PageView, Request, Trace. The specified types are sampled; all instances of the other types will always be transmitted.|
119+
|samplingSettings.isEnabled|true|Enables or disables sampling.|
120+
|samplingSettings.maxTelemetryItemsPerSecond|20|The threshold at which sampling begins.|
116121

117122
## cosmosDb
118123

articles/machine-learning/service/how-to-label-images.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.date: 11/04/2019
1212

1313
# Tag images in a labeling project
1414

15-
After your project administrator creates a labeling project in Azure Machine Learning, you can use the labeling tool to rapidly prepare data for a Machine Learning project. This article describes:
15+
After your project administrator [creates a labeling project](https://docs.microsoft.com/azure/machine-learning/service/how-to-create-labeling-projects#create-a-labeling-project) in Azure Machine Learning, you can use the labeling tool to rapidly prepare data for a Machine Learning project. This article describes:
1616

1717
> [!div class="checklist"]
1818
> * How to access your labeling projects

articles/migrate/tutorial-prepare-vmware.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Check appliance requirements before you deploy the appliance.
119119

120120
1. [Verify](migrate-support-matrix-vmware.md#assessment-appliance-requirements) appliance requirements and limitations.
121121
2. If you're using a URL-based firewall proxy, [review](migrate-support-matrix-vmware.md#assessment-url-access-requirements) the Azure URLs that the appliance will need to access. Make sure that the proxy resolves any CNAME records received while looking up the URLs.
122-
3. Review the [performance data](migrate-appliance.md#collected-performance-data-vmware)] and [metadata](migrate-appliance.md#collected-metadata-vmware) that the appliance collects during discovery and assessment.
122+
3. Review the [performance data](migrate-appliance.md#collected-performance-data-vmware) and [metadata](migrate-appliance.md#collected-metadata-vmware) that the appliance collects during discovery and assessment.
123123
4. [Note](migrate-support-matrix-vmware.md#assessment-port-requirements) the ports accessed by the appliance.
124124
5. On vCenter Server, make sure that your account has permissions to create a VM using an OVA file. You deploy the Azure Migrate appliance as a VMware VM, using an OVA file.
125125

0 commit comments

Comments
 (0)