Repository: ansible-collections/community.general

Issue:
Invalid URL in main/plugins/modules/office_365_connector_card.py
### Summary

Within the office_365_connector_card.py module plugin, https://dev.outlook.com is referenced twice:

- Office 365 Connectors U(https://dev.outlook.com/Connectors)

- For more information see https://dev.outlook.com/Connectors/reference.

It appears the certificate on dev.outlook.com expired in 2022 and the site uses HSTS, so there's no way to access the related information. Using http://dev.outlook.com also redirects you to https://dev.outlook.com and not a valid, current location for the referenced materials.

### Issue Type

Documentation Report

### Component Name

office_365_connector_card.py

### Ansible Version

```console (paste below)
$ ansible --version

```


### Community.general Version

6.4.0 per the https://docs.ansible.com/ansible/latest information

### Configuration

```console (paste below)
$ ansible-config dump --only-changed

```


### OS / Environment

_No response_

### Additional Information

_No response_

### Code of Conduct

- [X] I agree to follow the Ansible Code of Conduct
Invalid URL in main/plugins/modules/office_365_connector_card.py
### Summary

Within the office_365_connector_card.py module plugin, https://dev.outlook.com is referenced twice:

- Office 365 Connectors U(https://dev.outlook.com/Connectors)

- For more information see https://dev.outlook.com/Connectors/reference.

It appears the certificate on dev.outlook.com expired in 2022 and the site uses HSTS, so there's no way to access the related information. Using http://dev.outlook.com also redirects you to https://dev.outlook.com and not a valid, current location for the referenced materials.

### Issue Type

Documentation Report

### Component Name

office_365_connector_card.py

### Ansible Version

```console (paste below)
$ ansible --version

```


### Community.general Version

6.4.0 per the https://docs.ansible.com/ansible/latest information

### Configuration

```console (paste below)
$ ansible-config dump --only-changed

```


### OS / Environment

_No response_

### Additional Information

_No response_

### Code of Conduct

- [X] I agree to follow the Ansible Code of Conduct


Discussion:
Files identified in the description:
* [`plugins/modules/office_365_connector_card.py`](https://github.com/ansible-collections/community.general/blob/main/plugins/modules/office_365_connector_card.py)

If these files are incorrect, please update the `component name` section of the description or use the `!component` bot command.

[click here for bot help](https://github.com/ansible/ansibullbot/blob/devel/ISSUE_HELP.md)
<!--- boilerplate: components_banner --->
cc @marc-sensenich
[click here for bot help](https://github.com/ansible/ansibullbot/blob/devel/ISSUE_HELP.md)
<!--- boilerplate: notify --->
Files identified in the description:
* [`plugins/modules/office_365_connector_card.py`](https://github.com/ansible-collections/community.general/blob/main/plugins/modules/office_365_connector_card.py)

If these files are incorrect, please update the `component name` section of the description or use the `!component` bot command.

[click here for bot help](https://github.com/ansible/ansibullbot/blob/devel/ISSUE_HELP.md)
<!--- boilerplate: components_banner --->
cc @marc-sensenich
[click here for bot help](https://github.com/ansible/ansibullbot/blob/devel/ISSUE_HELP.md)
<!--- boilerplate: notify --->

Resolving patch:
diff --git a/plugins/modules/notification/office_365_connector_card.py b/plugins/modules/notification/office_365_connector_card.py
--- a/plugins/modules/notification/office_365_connector_card.py
+++ b/plugins/modules/notification/office_365_connector_card.py
@@ -13,7 +13,8 @@
 short_description: Use webhooks to create Connector Card messages within an Office 365 group
 description:
   - Creates Connector Card messages through
-  - Office 365 Connectors U(https://dev.outlook.com/Connectors)
+    Office 365 Connectors
+    U(https://learn.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/cards-reference#connector-card-for-microsoft-365-groups).
 author: "Marc Sensenich (@marc-sensenich)"
 notes:
   - This module is not idempotent, therefore if the same task is run twice
@@ -55,7 +56,7 @@
     elements: dict
     description:
       - Contains a list of sections to display in the card.
-      - For more information see https://dev.outlook.com/Connectors/reference.
+      - For more information see U(https://learn.microsoft.com/en-us/outlook/actionable-messages/message-card-reference#section-fields).
 '''
 
 EXAMPLES = """


Test patch: