Skip to content

Commit 67ac486

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into unMEL
2 parents c6c893b + b268e43 commit 67ac486

27 files changed

+757
-98
lines changed

articles/active-directory/develop/reference-aadsts-error-codes.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.service: active-directory
99
ms.subservice: develop
1010
ms.workload: identity
1111
ms.topic: reference
12-
ms.date: 06/13/2022
12+
ms.date: 08/10/2022
1313
ms.author: ryanwi
1414
ms.reviewer: ludwignick
1515
ms.custom: aaddev
@@ -165,6 +165,7 @@ The `error` field has several possible values - review the protocol documentatio
165165
| AADSTS50146 | MissingCustomSigningKey - This app is required to be configured with an app-specific signing key. It is either not configured with one, or the key has expired or isn't yet valid. |
166166
| AADSTS50147 | MissingCodeChallenge - The size of the code challenge parameter isn't valid. |
167167
| AADSTS501481 | The Code_Verifier doesn't match the code_challenge supplied in the authorization request.|
168+
| AADSTS501491 | InvalidCodeChallengeMethodInvalidSize - Invalid size of Code_Challenge parameter.|
168169
| AADSTS50155 | DeviceAuthenticationFailed - Device authentication failed for this user. |
169170
| AADSTS50158 | ExternalSecurityChallenge - External security challenge was not satisfied. |
170171
| AADSTS50161 | InvalidExternalSecurityChallengeConfiguration - Claims sent by external provider isn't enough or Missing claim requested to external provider. |
@@ -209,6 +210,7 @@ The `error` field has several possible values - review the protocol documentatio
209210
| AADSTS70000 | InvalidGrant - Authentication failed. The refresh token isn't valid. Error may be due to the following reasons:<ul><li>Token binding header is empty</li><li>Token binding hash does not match</li></ul> |
210211
| AADSTS70001 | UnauthorizedClient - The application is disabled. To learn more, see the troubleshooting article for error [AADSTS70001](/troubleshoot/azure/active-directory/error-code-aadsts70001-app-not-found-in-directory). |
211212
| AADSTS70002 | InvalidClient - Error validating the credentials. The specified client_secret does not match the expected value for this client. Correct the client_secret and try again. For more info, see [Use the authorization code to request an access token](v2-oauth2-auth-code-flow.md#redeem-a-code-for-an-access-token). |
213+
| AADSTS700025 | InvalidClientPublicClientWithCredential - Client is public so neither 'client_assertion' nor 'client_secret' should be presented. |
212214
| AADSTS70003 | UnsupportedGrantType - The app returned an unsupported grant type. |
213215
| AADSTS700030 | Invalid certificate - subject name in certificate isn't authorized. SubjectNames/SubjectAlternativeNames (up to 10) in token certificate are: {certificateSubjects}. |
214216
| AADSTS70004 | InvalidRedirectUri - The app returned an invalid redirect URI. The redirect address specified by the client does not match any configured addresses or any addresses on the OIDC approve list. |

articles/azure-maps/clustering-point-data-android-sdk.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ source = new DataSource(
866866
);
867867

868868
//Import the geojson data and add it to the data source.
869-
source.importDataFromUrl("https://azuremapscodesamples.azurewebsites.net/Common/data/geojson/SamplePoiDataSet.json");
869+
source.importDataFromUrl("https://samples.azuremaps.com/data/geojson/SamplePoiDataSet.json");
870870

871871
//Add data source to the map.
872872
map.sources.add(source);
@@ -999,7 +999,7 @@ val source = DataSource(
999999
)
10001000

10011001
//Import the geojson data and add it to the data source.
1002-
source.importDataFromUrl("https://azuremapscodesamples.azurewebsites.net/Common/data/geojson/SamplePoiDataSet.json")
1002+
source.importDataFromUrl("https://samples.azuremaps.com/data/geojson/SamplePoiDataSet.json")
10031003

10041004
//Add data source to the map.
10051005
map.sources.add(source)

articles/azure-maps/clustering-point-data-ios-sdk.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ map.layers.addLayer(
216216
)
217217
```
218218

219-
For this sample, the following images is loaded into the assets folder of the app.
219+
For this sample, the following image is loaded into the assets folder of the app.
220220

221221
| ![Earthquake icon image](./media/ios-sdk/cluster-point-data-ios-sdk/earthquake-icon.png) | ![Weather icon image of rain showers](./media/ios-sdk/cluster-point-data-ios-sdk/warning-triangle-icon.png) |
222222
|:-----------------------:|:--------------------------:|
@@ -568,7 +568,7 @@ let source = DataSource(options: [
568568
])
569569

570570
// Import the geojson data and add it to the data source.
571-
let url = URL(string: "https://azuremapscodesamples.azurewebsites.net/Common/data/geojson/SamplePoiDataSet.json")!
571+
let url = URL(string: "https://samples.azuremaps.com/data/geojson/SamplePoiDataSet.json")!
572572
source.importData(fromURL: url)
573573

574574
// Add data source to the map.

articles/azure-maps/how-to-use-indoor-module.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ To see your indoor map, load it into a web browser. It should appear like the im
244244

245245
![indoor map image](media/how-to-use-indoor-module/indoor-map-graphic.png)
246246

247-
[See live demo](https://azuremapscodesamples.azurewebsites.net/?sample=Creator%20indoor%20maps)
247+
[See live demo](https://samples.azuremaps.com/?sample=creator-indoor-maps)
248248

249249
## Next steps
250250

articles/azure-maps/indoor-map-dynamic-styling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ The web application that you previously opened in a browser should now reflect t
128128
129129
![Free room in green and Busy room in red](./media/indoor-map-dynamic-styling/room-state.png)
130130
131-
[See live demo](https://azuremapscodesamples.azurewebsites.net/?sample=Creator%20indoor%20maps)
131+
[See live demo](https://samples.azuremaps.com/?sample=creator-indoor-maps)
132132
133133
## Next steps
134134

articles/azure-maps/map-add-popup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ var feature = new atlas.data.Feature(new atlas.data.Point([0, 0]), {
229229
subValue: 'Pizza'
230230
},
231231
arrayValue: [3, 4, 5, 6],
232-
imageLink: 'https://azuremapscodesamples.azurewebsites.net/common/images/Pike_Market.jpg'
232+
imageLink: 'https://samples.azuremaps.com/images/Pike_Market.jpg'
233233
});
234234

235235
var popup = new atlas.Popup({

articles/azure-maps/map-extruded-polygon-android.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ A choropleth map can be rendered using the polygon extrusion layer. Set the `hei
115115
DataSource source = new DataSource();
116116

117117
//Import the geojson data and add it to the data source.
118-
source.importDataFromUrl("https://azuremapscodesamples.azurewebsites.net/Common/data/geojson/US_States_Population_Density.json");
118+
source.importDataFromUrl("https://samples.azuremaps.com/data/geojson/US_States_Population_Density.json");
119119

120120
//Add data source to the map.
121121
map.sources.add(source);
@@ -159,7 +159,7 @@ map.layers.add(layer, "labels");
159159
val source = DataSource()
160160

161161
//Import the geojson data and add it to the data source.
162-
source.importDataFromUrl("https://azuremapscodesamples.azurewebsites.net/Common/data/geojson/US_States_Population_Density.json")
162+
source.importDataFromUrl("https://samples.azuremaps.com/data/geojson/US_States_Population_Density.json")
163163

164164
//Add data source to the map.
165165
map.sources.add(source)

articles/azure-maps/migrate-from-bing-maps-web-app.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ Web apps that use Bing Maps often use the Bing Maps V8 JavaScript SDK. The Azure
2828
2929
If migrating an existing web application, check to see if it is using an open-source map control library such as Cesium, Leaflet, and OpenLayers. If it is and you would prefer to continue to use that library, you can connect it to the Azure Maps tile services ([road tiles](/rest/api/maps/render/getmaptile) \| [satellite tiles](/rest/api/maps/render/getmapimagerytile)). The links below provide details on how to use Azure Maps in some commonly used open-source map control libraries.
3030

31-
* [Cesium](https://www.cesium.com/) - A 3D map control for the web. [Code samples](https://azuremapscodesamples.azurewebsites.net/?search=Cesium) \| [Plugin repo]()
32-
* [Leaflet](https://leafletjs.com/) – Lightweight 2D map control for the web. [Code samples](https://azuremapscodesamples.azurewebsites.net/?search=leaflet) \| [Plugin repo]()
33-
* [OpenLayers](https://openlayers.org/) - A 2D map control for the web that supports projections. [Code samples](https://azuremapscodesamples.azurewebsites.net/?search=openlayers) \| [Plugin repo]()
31+
* [Cesium](https://www.cesium.com/) - A 3D map control for the web. [Code samples](https://samples.azuremaps.com/?search=Cesium) \| [Plugin repo]()
32+
* [Leaflet](https://leafletjs.com/) – Lightweight 2D map control for the web. [Code samples](https://samples.azuremaps.com/?search=leaflet) \| [Plugin repo]()
33+
* [OpenLayers](https://openlayers.org/) - A 2D map control for the web that supports projections. [Code samples](https://samples.azuremaps.com/?search=openlayers) \| [Plugin repo]()
3434

3535
If developing using a JavaScript framework, one of the following open-source projects may be useful:
3636

@@ -58,7 +58,7 @@ The following table lists key API features in the Bing Maps V8 JavaScript SDK an
5858
| Heat maps ||
5959
| Tile Layers ||
6060
| KML Layer ||
61-
| Contour layer | [Samples](https://azuremapscodesamples.azurewebsites.net/?search=contour) |
61+
| Contour layer | [Samples](https://samples.azuremaps.com/?search=contour) |
6262
| Data binning layer | Included in the open-source Azure Maps [Gridded Data Source module](https://github.com/Azure-Samples/azure-maps-gridded-data-source) |
6363
| Animated tile layer | Included in the open-source Azure Maps [Animation module](https://github.com/Azure-Samples/azure-maps-animations) |
6464
| Drawing tools ||
@@ -80,8 +80,8 @@ Azure Maps also has many additional [open-source modules for the web SDK](open-s
8080

8181
The following are some of the key differences between the Bing Maps and Azure Maps Web SDKs to be aware of:
8282

83-
* In addition to providing a hosted endpoint for accessing the Azure Maps Web SDK, an NPM package is also available for embedding the Web SDK into apps if preferred. For more information, see this [documentation](./how-to-use-map-control.md) for more information. This package also includes TypeScript definitions.
84-
* Bing Maps provides two hosted branches of their SDK; Release and Experimental. The Experimental branch may receive multiple updates a day when new development is taking place. Azure Maps only hosts a release branch, however experimental features are created as custom modules in the open-source Azure Maps code samples project. Bing Maps used to have a frozen branch as well that was updated less frequently, thus reducing the risk of breaking changes due to a release. In Azure Maps there you can use the NPM module and point to any previous minor version release.
83+
* In addition to providing a hosted endpoint for accessing the Azure Maps Web SDK, an npm package is also available for embedding the Web SDK into apps if preferred. For more information, see this [documentation](./how-to-use-map-control.md) for more information. This package also includes TypeScript definitions.
84+
* Bing Maps provides two hosted branches of their SDK; Release and Experimental. The Experimental branch may receive multiple updates a day when new development is taking place. Azure Maps only hosts a release branch, however experimental features are created as custom modules in the open-source Azure Maps code samples project. Bing Maps used to have a frozen branch as well that was updated less frequently, thus reducing the risk of breaking changes due to a release. In Azure Maps there you can use the npm module and point to any previous minor version release.
8585

8686
> [!TIP]
8787
> Azure Maps publishes both minified and unminified versions of the SDK. Simple remove `.min` from the file names. The unminified version is useful when debugging issues but be sure to use the minified version in production to take advantage of the smaller file size.
@@ -796,9 +796,9 @@ map.events.add('click', marker, function () {
796796
**Additional resources**
797797

798798
* [Add a popup](./map-add-popup.md)
799-
* [Popup with Media Content](https://azuremapscodesamples.azurewebsites.net/index.html?sample=Popup%20with%20Media%20Content)
800-
* [Popups on Shapes](https://azuremapscodesamples.azurewebsites.net/index.html?sample=Popups%20on%20Shapes)
801-
* [Reusing Popup with Multiple Pins](https://azuremapscodesamples.azurewebsites.net/index.html?sample=Reusing%20Popup%20with%20Multiple%20Pins)
799+
* [Popup with Media Content](https://samples.azuremaps.com/?sample=popup-with-media-content)
800+
* [Popups on Shapes](https://samples.azuremaps.com/?sample=popups-on-shapes)
801+
* [Reusing Popup with Multiple Pins](https://samples.azuremaps.com/?sample=reusing-popup-with-multiple-pins)
802802
* [Popup class](/javascript/api/azure-maps-control/atlas.popup)
803803
* [Popup options](/javascript/api/azure-maps-control/atlas.popupoptions)
804804

@@ -1242,8 +1242,8 @@ If you click on one of the traffic icons in Azure Maps, additional information i
12421242
**Additional resources**
12431243

12441244
* [Show traffic on the map](./map-show-traffic.md)
1245-
* [Traffic overlay options](https://azuremapscodesamples.azurewebsites.net/index.html?sample=Traffic%20Overlay%20Options)
1246-
* [Traffic control](https://azuremapscodesamples.azurewebsites.net/?sample=Traffic%20controls)
1245+
* [Traffic overlay options](https://samples.azuremaps.com/?sample=traffic-overlay-options)
1246+
* [Traffic control](https://samples.azuremaps.com/?sample=traffic-controls)
12471247

12481248
### Add a ground overlay
12491249

@@ -1629,7 +1629,7 @@ In Azure Maps the drawing tools module needs to be loaded by loading the JavaScr
16291629
**Additional resources**
16301630

16311631
* [Documentation](./set-drawing-options.md)
1632-
* [Code samples](https://azuremapscodesamples.azurewebsites.net/#Drawing-Tools-Module)
1632+
* [Code samples](https://samples.azuremaps.com/#drawing-tools-module)
16331633

16341634
## Additional resources
16351635

@@ -1640,10 +1640,10 @@ Review code samples related migrating other Bing Maps features:
16401640
**Data visualizations**
16411641

16421642
> [!div class="nextstepaction"]
1643-
> [Contour layer](https://azuremapscodesamples.azurewebsites.net/?search=contour)
1643+
> [Contour layer](https://samples.azuremaps.com/?search=contour)
16441644
16451645
> [!div class="nextstepaction"]
1646-
> [Data Binning](https://azuremapscodesamples.azurewebsites.net/?search=data%20binning)
1646+
> [Data Binning](https://samples.azuremaps.com/?search=Data%20Binning)
16471647
16481648
**Services**
16491649

@@ -1660,7 +1660,7 @@ Review code samples related migrating other Bing Maps features:
16601660
> [Show directions from A to B](./map-route.md)
16611661
16621662
> [!div class="nextstepaction"]
1663-
> [Search Autosuggest with JQuery UI](https://azuremapscodesamples.azurewebsites.net/index.html?sample=Search%20Autosuggest%20and%20JQuery%20UI)
1663+
> [Search Autosuggest with JQuery UI](https://samples.azuremaps.com/?sample=search-autosuggest-and-jquery-ui)
16641664
16651665
Learn more about the Azure Maps Web SDK.
16661666

articles/azure-maps/migrate-from-bing-maps-web-services.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ Azure Maps can snap coordinates to roads by using the [route directions](/rest/a
266266
There are two different ways to use the route directions API to snap coordinates to roads.
267267

268268
* If there are 150 coordinates or less, they can be passed as waypoints in the GET route directions API. Using this approach two different types of snapped data can be retrieved; route instructions will contain the individual snapped waypoints, while the route path will have an interpolated set of coordinates that fill the full path between the coordinates.
269-
* If there are more than 150 coordinates, the POST route directions API can be used. The coordinates start and end coordinates have to be passed into the query parameter, but all coordinates can be passed into the `supportingPoints` parameter in the body of the POST request and formatted a GeoJSON geometry collection of points. The only snapped data available using this approach will be the route path that is an interpolated set of coordinates that fill the full path between the coordinates. [Here is an example](https://azuremapscodesamples.azurewebsites.net/?sample=Snap%20points%20to%20logical%20route%20path) of this approach using the services module in the Azure Maps Web SDK.
269+
* If there are more than 150 coordinates, the POST route directions API can be used. The coordinates start and end coordinates have to be passed into the query parameter, but all coordinates can be passed into the `supportingPoints` parameter in the body of the POST request and formatted a GeoJSON geometry collection of points. The only snapped data available using this approach will be the route path that is an interpolated set of coordinates that fill the full path between the coordinates. [Here is an example](https://samples.azuremaps.com/?sample=snap-points-to-logical-route-path) of this approach using the services module in the Azure Maps Web SDK.
270270

271271
The following table cross-references the Bing Maps API parameters with the comparable API parameters in Azure Maps.
272272

@@ -310,7 +310,7 @@ The Azure Maps route directions API does not currently return speed limit data,
310310

311311
The Azure Maps Web SDK uses vector tiles to render the maps. These vector tiles contain the raw road geometry information and can be used to calculate the nearest road to a coordinate for simple snapping of individual coordinates. This is useful when you want the coordinates to visually appear over roads and you are already using the Azure Maps Web SDK to visualize the data.
312312

313-
This approach however will only snap to the road segments that are loaded within the map view. When zoomed out at country level there may be no road data, so snapping can’t be done, however at that zoom level a single pixel can represent the area of several city blocks so snapping isn’t needed. To address this, the snapping logic can be applied every time the map has finished moving. [Here is a code sample](https://azuremapscodesamples.azurewebsites.net/index.html?sample=Basic%20snap%20to%20road%20logic) that demonstrates this.
313+
This approach however will only snap to the road segments that are loaded within the map view. When zoomed out at country level there may be no road data, so snapping can’t be done, however at that zoom level a single pixel can represent the area of several city blocks so snapping isn’t needed. To address this, the snapping logic can be applied every time the map has finished moving. [Here is a code sample](https://samples.azuremaps.com/?sample=basic-snap-to-road-logic) that demonstrates this.
314314

315315
**Using the Azure Maps vector tiles directly to snap coordinates**
316316

@@ -656,7 +656,7 @@ Here are some useful resources around hosting and querying spatial data in Azure
656656

657657
Azure Maps provides client libraries for the following programming languages;
658658

659-
* JavaScript, TypeScript, Node.js – [documentation](./how-to-use-services-module.md) \| [NPM package](https://www.npmjs.com/package/azure-maps-rest)
659+
* JavaScript, TypeScript, Node.js – [documentation](./how-to-use-services-module.md) \| [npm package](https://www.npmjs.com/package/azure-maps-rest)
660660

661661
Open-source client libraries for other programming languages;
662662

0 commit comments

Comments
 (0)