Title: How to get my SharePoint site with the Sites API using the Python SDK and Site.Selected permission · Issue #1041 · microsoftgraph/msgraph-sdk-python · GitHub
Open Graph Title: How to get my SharePoint site with the Sites API using the Python SDK and Site.Selected permission · Issue #1041 · microsoftgraph/msgraph-sdk-python
X Title: How to get my SharePoint site with the Sites API using the Python SDK and Site.Selected permission · Issue #1041 · microsoftgraph/msgraph-sdk-python
Description: As mentioned in the title I have the Sites.Selected permission set with roles Read, Write, Manage, and FullControl. The documentation for the Python SDK exposes only one coroutine example to query a given site by means of its ID metadata...
Open Graph Description: As mentioned in the title I have the Sites.Selected permission set with roles Read, Write, Manage, and FullControl. The documentation for the Python SDK exposes only one coroutine example to query ...
X Description: As mentioned in the title I have the Sites.Selected permission set with roles Read, Write, Manage, and FullControl. The documentation for the Python SDK exposes only one coroutine example to query ...
Opengraph URL: https://github.com/microsoftgraph/msgraph-sdk-python/issues/1041
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to get my SharePoint site with the Sites API using the Python SDK and Site.Selected permission","articleBody":"As mentioned in the title I have the `Sites.Selected` permission set with roles `Read`, `Write`, `Manage`, and `FullControl`.\r\n\r\nThe [documentation](https://learn.microsoft.com/en-us/graph/api/site-get?view=graph-rest-1.0\u0026tabs=python#example-1-get-a-site-using-the-site-id) for the Python SDK exposes [only one](https://learn.microsoft.com/en-us/graph/api/site-get?view=graph-rest-1.0\u0026tabs=python#example-1-get-a-site-using-the-site-id) coroutine example to query a given site by means of its `ID` metadata which I don't have yet.\r\n\r\nHow can I get the `Site` given I have only the URL of the site itself, for instance `https://mycompanyname.sharepoint.com/sites/mysitename`\r\n\r\nThanks","author":{"url":"https://github.com/LuchiLucs","@type":"Person","name":"LuchiLucs"},"datePublished":"2024-12-19T11:36:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/1041/msgraph-sdk-python/issues/1041"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ff074f5a-51be-b0db-ed23-05b614d04300 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA50:211793:77844:9E548:6969B536 |
| html-safe-nonce | adfc4329df3ff85f23aac4ded14001f9a68447b375a8138e0aa6520fc65c86ac |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTUwOjIxMTc5Mzo3Nzg0NDo5RTU0ODo2OTY5QjUzNiIsInZpc2l0b3JfaWQiOiIzNDY2NDg3MDM4NTg1OTc2MTE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b5fbd19cf0e07e614274f731f59e24335cd136a2a09069417f28c1729b819ad6 |
| hovercard-subject-tag | issue:2750034163 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoftgraph/msgraph-sdk-python/1041/issue_layout |
| twitter:image | https://opengraph.githubassets.com/069c64967d0f23cb5beadf623eb919d511573bb6d9505c94012dadd8524265fb/microsoftgraph/msgraph-sdk-python/issues/1041 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/069c64967d0f23cb5beadf623eb919d511573bb6d9505c94012dadd8524265fb/microsoftgraph/msgraph-sdk-python/issues/1041 |
| og:image:alt | As mentioned in the title I have the Sites.Selected permission set with roles Read, Write, Manage, and FullControl. The documentation for the Python SDK exposes only one coroutine example to query ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | LuchiLucs |
| hostname | github.com |
| expected-hostname | github.com |
| None | b23b8fcc855cd29bb04d6c94aafa62d336bf44eefa8229444eecc968cad03aee |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoftgraph/msgraph-sdk-python git https://github.com/microsoftgraph/msgraph-sdk-python.git |
| octolytics-dimension-user_id | 17304259 |
| octolytics-dimension-user_login | microsoftgraph |
| octolytics-dimension-repository_id | 534665999 |
| octolytics-dimension-repository_nwo | microsoftgraph/msgraph-sdk-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 534665999 |
| octolytics-dimension-repository_network_root_nwo | microsoftgraph/msgraph-sdk-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0672399d88424758731ec07fe24509e23bb17fb5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width