Skip to content

Commit 9d93c4a

Browse files
authored
Merge pull request #236146 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-docs (branch main)
2 parents 5070272 + fc06880 commit 9d93c4a

File tree

15 files changed

+66
-102
lines changed

15 files changed

+66
-102
lines changed

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
2-
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.
2+
For more information, see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ Welcome to the open-source [documentation](/azure) of [Microsoft Azure](https://
44

55
## Getting Started
66

7-
Contributing to open source is more than just providing updates, it's also about letting us know when there is an issue. Read our [Contributing guidance](CONTRIBUTING.md) to find out more.
7+
Contributing to open source is more than just providing updates. It's also about letting us know when there is an issue. Read our [Contributing guidance](CONTRIBUTING.md) to find out more.
88

99
### Prerequisites
1010

11-
You've decided to contribute, that's great! To contribute to the documentation, you need a few tools.
11+
You've decided to contribute. That's great! To contribute to the documentation, you need a few tools.
1212

1313
#### GitHub
1414

1515
Contributing to the documentation requires a GitHub account. If you don't have an account, follow the instructions for [GitHub account setup](https://learn.microsoft.com/contribute/get-started-setup-github) from our contributor guide.
1616

1717
#### Tools
1818

19-
To install necessary tools, follow the instructions for [Install content authoring tools](https://learn.microsoft.com/contribute/get-started-setup-tools) from our contributor guide.
19+
To install the necessary tools, follow the instructions for [Install content authoring tools](https://learn.microsoft.com/contribute/get-started-setup-tools) from our contributor guide.
2020

2121
## License
2222

23-
Please refer to [LICENSE](LICENSE), [LICENSE-CODE](LICENSE-CODE) and [ThirdPartyNotices](ThirdPartyNotices.md) for all Licensing information.
23+
Please refer to [LICENSE](LICENSE), [LICENSE-CODE](LICENSE-CODE), and [ThirdPartyNotices](ThirdPartyNotices.md) for all Licensing information.
2424

2525
## Code of Conduct
2626

SECURITY.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ If you believe you have found a security vulnerability in any Microsoft-owned re
1212

1313
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report).
1414

15-
If you prefer to submit without logging in, send email to [[email protected]](mailto:[email protected]). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey).
15+
If you prefer to submit without logging in, email [[email protected]](mailto:[email protected]). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey).
1616

17-
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc).
17+
You should receive a response within 24 hours. If you do not, you can email us to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc).
1818

1919
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
2020

21-
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
21+
* Type of issue (e.g., buffer overflow, SQL injection, cross-site scripting, etc.)
2222
* Full paths of source file(s) related to the manifestation of the issue
2323
* The location of the affected source code (tag/branch/commit or direct URL)
2424
* Any special configuration required to reproduce the issue
@@ -28,7 +28,7 @@ Please include the requested information listed below (as much as you can provid
2828

2929
This information will help us triage your report more quickly.
3030

31-
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs.
31+
If you are reporting for a bug bounty, providing more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs.
3232

3333
## Preferred Languages
3434

ThirdPartyNotices.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Legal Notices
22
Microsoft and any contributors grant you a license to the Microsoft documentation and other content
33
in this repository under the [Creative Commons Attribution 4.0 International Public License](https://creativecommons.org/licenses/by/4.0/legalcode),
4-
see the [LICENSE](LICENSE) file, and grant you a license to any code in the repository under the [MIT License](https://opensource.org/licenses/MIT), see the
4+
see the [LICENSE](LICENSE) file, and grant you a license to any code in the repository under the [MIT License](https://opensource.org/licenses/MIT). See the
55
[LICENSE-CODE](LICENSE-CODE) file.
66

77
Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the documentation
@@ -11,5 +11,5 @@ Microsoft's general trademark guidelines can be found at http://go.microsoft.com
1111

1212
Privacy information can be found at https://privacy.microsoft.com/en-us/
1313

14-
Microsoft and any contributors reserve all others rights, whether under their respective copyrights, patents,
15-
or trademarks, whether by implication, estoppel or otherwise.
14+
Microsoft and any contributors reserve all other rights, whether under their respective copyrights, patents,
15+
or trademarks, whether by implication, estoppel, or otherwise.

articles/active-directory/devices/device-management-azure-portal.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ You must be assigned one of the following roles to view or manage device setting
174174
175175
- **Additional local administrators on Azure AD joined devices**: This setting allows you to select the users who are granted local administrator rights on a device. These users are added to the Device Administrators role in Azure AD. Global Administrators in Azure AD and device owners are granted local administrator rights by default.
176176
This option is a premium edition capability available through products like Azure AD Premium and Enterprise Mobility + Security.
177+
- **Enable Azure AD Local Administrator Password Solution (LAPS) (preview)**: LAPS is the management of local account passwords on Windows devices. LAPS provides a solution to securely manage and retrieve the built-in local admin password. With cloud version of LAPS, customers can enable storing and rotation of local admin passwords for both Azure AD and Hybrid Azure AD join devices. To learn how to manage LAPS in Azure AD, see [the overview article](howto-manage-local-admin-passwords.md).
177178

178179
- **Restrict non-admin users from recovering the BitLocker key(s) for their owned devices (preview)**: In this preview, admins can block self-service BitLocker key access to the registered owner of the device. Default users without the BitLocker read permission will be unable to view or copy their BitLocker key(s) for their owned devices.
179180

44.3 KB
Loading

articles/active-directory/multi-tenant-organizations/cross-tenant-synchronization-configure.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -527,13 +527,7 @@ $smssignin = Get-MgUserAuthenticationPhoneMethod -UserId $userId
527527
Users in scope fail to provision. The provisioning logs details include the following error message:
528528

529529
```
530-
The provisioning service was forbidden from performing an operation on Azure Active Directory, which is unusual.
531-
A simultaneous change to the target object may have occurred, in which case, the operation might succeed when it is retried.
532-
Alternatively, the target of the operation, or one of its properties, may be mastered on-premises, in which case,
533-
the provisioning service is not permitted to update it, and the corresponding source entry should be removed from the provisioning service's scope.
534-
Otherwise, authorizations may have been customized in such a way as to prevent the provisioning service from modifying the target object or one of its properties;
535-
if so, then, again, the corresponding source entry should be removed from scope.
536-
This operation was retried 0 times.
530+
Guest invitations not allowed for your company. Contact your company administrator for more details.
537531
```
538532

539533
**Cause**

articles/active-directory/verifiable-credentials/linkedin-employment-verification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.author: barclayn
1313

1414
# LinkedIn employment verification
1515

16-
If your organization wants its employees get verified on LinkedIn, you need to follow these few steps:
16+
If your organization wants its employees to get verified on LinkedIn, you need to follow these few steps:
1717

1818
1. Setup your Microsoft Entra Verified ID service by following these [instructions](verifiable-credentials-configure-tenant.md).
1919
1. [Create](how-to-use-quickstart-verifiedemployee.md#create-a-verified-employee-credential) a Verified ID Employee credential.

articles/aks/workload-identity-deploy-cluster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ You can retrieve this information using the Azure CLI command: [az keyvault list
176176
To disable the Azure AD workload identity on the AKS cluster where it's been enabled and configured, you can run the following command:
177177
178178
```azurecli
179-
az aks update --resource-group myResourceGroup --name myAKSCluster --enable-workload-identity false
179+
az aks update --resource-group myResourceGroup --name myAKSCluster --disable-workload-identity
180180
```
181181

182182
## Next steps

articles/azure-monitor/app/opencensus-python-request.md

Lines changed: 13 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -121,64 +121,32 @@ You can find a Flask sample application that tracks requests in the [Azure Monit
121121

122122
## Track FastAPI applications
123123

124-
OpenCensus doesn't have an extension for FastAPI. To write your own FastAPI middleware:
125-
126124
1. The following dependencies are required:
127125
- [fastapi](https://pypi.org/project/fastapi/)
128126
- [uvicorn](https://pypi.org/project/uvicorn/)
129127

130128
In a production setting, we recommend that you deploy [uvicorn with gunicorn](https://www.uvicorn.org/deployment/#gunicorn).
131129

132-
1. Add [FastAPI middleware](https://fastapi.tiangolo.com/tutorial/middleware/). Make sure that you set the span kind server: `span.span_kind = SpanKind.SERVER`.
133-
134-
1. Run your application. Calls made to your FastAPI application should be automatically tracked. Telemetry should be logged directly to Azure Monitor.
135-
136-
```python
137-
# Opencensus imports
138-
from opencensus.ext.azure.trace_exporter import AzureExporter
139-
from opencensus.trace.samplers import ProbabilitySampler
140-
from opencensus.trace.tracer import Tracer
141-
from opencensus.trace.span import SpanKind
142-
from opencensus.trace.attributes_helper import COMMON_ATTRIBUTES
143-
# FastAPI imports
144-
from fastapi import FastAPI, Request
145-
# uvicorn
146-
import uvicorn
147-
148-
app = FastAPI()
149-
150-
HTTP_URL = COMMON_ATTRIBUTES['HTTP_URL']
151-
HTTP_STATUS_CODE = COMMON_ATTRIBUTES['HTTP_STATUS_CODE']
152-
153-
exporter=AzureExporter(connection_string='<your-appinsights-connection-string-here>')
154-
sampler=ProbabilitySampler(1.0)
155-
156-
# fastapi middleware for opencensus
157-
@app.middleware("http")
158-
async def middlewareOpencensus(request: Request, call_next):
159-
tracer = Tracer(exporter=exporter, sampler=sampler)
160-
with tracer.span("main") as span:
161-
span.span_kind = SpanKind.SERVER
130+
2. Download and install `opencensus-ext-fastapi` from [PyPI](https://pypi.org/project/opencensus-ext-fastapi/).
162131

163-
response = await call_next(request)
132+
`pip install opencensus-ext-fastapi`
164133

165-
tracer.add_attribute_to_current_span(
166-
attribute_key=HTTP_STATUS_CODE,
167-
attribute_value=response.status_code)
168-
tracer.add_attribute_to_current_span(
169-
attribute_key=HTTP_URL,
170-
attribute_value=str(request.url))
134+
3. Instrument your application with the `fastapi` middleware.
171135

172-
return response
136+
```python
137+
from fastapi import FastAPI
138+
from opencensus.ext.fastapi.fastapi_middleware import FastAPIMiddleware
173139

174-
@app.get("/")
175-
async def root():
176-
return "Hello World!"
140+
app = FastAPI(__name__)
141+
app.add_middleware(FastAPIMiddleware)
177142

178-
if __name__ == '__main__':
179-
uvicorn.run("example:app", host="127.0.0.1", port=5000, log_level="info")
143+
@app.get('/')
144+
def hello():
145+
return 'Hello World!'
180146
```
181147

148+
4. Run your application. Calls made to your FastAPI application should be automatically tracked. Telemetry should be logged directly to Azure Monitor.
149+
182150
## Next steps
183151

184152
* [Application Map](./app-map.md)

0 commit comments

Comments
 (0)