नोट
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप साइन इन करने या निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
निम्न नमूना क्वेरीज़ PowerPlatformResources तालिका में Azure Resource Graph के विरुद्ध चलाएँ। वे संसाधन गणना और वितरण, क्षेत्र खोज, संसाधन खोज और कनेक्टर उपयोग विश्लेषण को कवर करते हैं। Power Platform इन्वेंट्री के अवलोकन के लिए, Power Platform इन्वेंट्री देखें. स्कीमा और फ़ील्ड संदर्भ के लिए, Power Platform इन्वेंट्री स्कीमा संदर्भ देखें.
इन प्रश्नों को कैसे चलाएं
आप इनमें से कोई भी क्वेरी Azure Resource Graph इंटरफ़ेस से चला सकते हैं. चरण-दर-चरण निर्देशों के लिए, निम्न क्विकस्टार्ट मार्गदर्शिकाएँ देखें:
- Azure पोर्टल का उपयोग करके संसाधन ग्राफ़ क्वेरी चलाएँ
- Azure CLI का उपयोग करके संसाधन ग्राफ़ क्वेरी चलाएँ
- Azure PowerShell का उपयोग करके संसाधन ग्राफ़ क्वेरी चलाएँ
- REST API का उपयोग करके Azure Resource Graph क्वेरी चलाएँ
गणना और वितरण
सभी संसाधनों की कुल संख्या
PowerPlatformResources
| count
संसाधन प्रकार के आधार पर कुल गणना
PowerPlatformResources
| summarize resourceCount = count() by type
| order by resourceCount
पर्यावरण के आधार पर मायने रखता है
PowerPlatformResources
| extend properties = parse_json(properties)
| extend environmentId = tostring(properties.environmentId)
| summarize resourceCount = count() by environmentId
| order by resourceCount desc
क्षेत्र के अनुसार गणना
PowerPlatformResources
| summarize resourceCount = count() by location
| order by resourceCount desc
आइटम गणना के आधार पर शीर्ष मालिक
PowerPlatformResources
| extend properties = parse_json(properties)
| extend ownerId = tostring(properties.ownerId)
| summarize resourceCount = count() by ownerId
| order by resourceCount desc
संसाधन लुकअप
किरायेदार में एक एकल एजेंट खोजें
PowerPlatformResources
| where type == "microsoft.copilotstudio/agents"
| where name == "[Enter the agent's ID]"
सुझाव
आप एजेंट को देखते समय Copilot Studio URL में या इन्वेंट्री टेबल के नाम कॉलम में एजेंट की आईडी पा सकते हैं।
दोहन द्वारा एजेंटों की गणना करें
Microsoft Copilot हार्नेस, Copilot Chat हार्नेस, या स्टैंडर्ड हार्नेस के साथ बनाए गए एजेंटों का ब्रेकडाउन दिखाता है।
आप ManageCopilot> Studio के अंतर्गत Power Platform एडमिन सेंटर में हार्नेस कॉलम में एजेंट का हार्नेस देख सकते हैं। वह स्तंभ केवल एक उपयोगकर्ता इंटरफ़ेस स्तंभ है. हार्नेस अभी तक एजेंट मेटाडेटा के रूप में वापस नहीं आया है, इसलिए यह क्वेरी इसे उन फ़ील्ड से प्राप्त करती है जो इन्वेंट्री लौटाती हैं: properties.isCLIAgent, , properties.modelऔर properties.createdIn. जब फ़ील्ड उपलब्ध हो जाती है, तो properties.harness आप इसके बजाय सीधे क्वेरी कर सकते हैं। फ़ील्ड परिभाषाओं के लिए, Microsoft Copilot Studio एजेंट इन्वेंट्री स्कीमा देखें।
PowerPlatformResources
| where type == "microsoft.copilotstudio/agents"
| extend properties = parse_json(properties)
| extend
isCLIAgent = tobool(properties.isCLIAgent),
model = tostring(properties.model),
createdIn = tostring(properties.createdIn)
| extend harness = case(
isCLIAgent == true, "GitHub Copilot",
model =~ "Microsoft 365 Copilot" or createdIn =~ "Microsoft 365 Copilot Agent Builder", "Copilot Chat",
"Standard")
| summarize agentCount = count() by harness
| order by agentCount desc
एजेंटों को उनके दोहन के साथ सूचीबद्ध करें
अपने दोहन के साथ प्रति एजेंट एक पंक्ति लौटाता है, ताकि आप केवल उन्हें गिनने के बजाय अलग-अलग एजेंटों को ढूंढ सकें और उन पर कार्य कर सकें। केवल Microsoft Copilot हार्नेस के साथ निर्मित एजेंटों को वापस करने के लिए लाइन को where अनकमेंट करें।
PowerPlatformResources
| where type == "microsoft.copilotstudio/agents"
| extend properties = parse_json(properties)
| extend
isCLIAgent = tobool(properties.isCLIAgent),
model = tostring(properties.model),
createdIn = tostring(properties.createdIn)
| extend harness = case(
isCLIAgent == true, "GitHub Copilot",
model =~ "Microsoft 365 Copilot" or createdIn =~ "Microsoft 365 Copilot Agent Builder", "Copilot Chat",
"Standard")
//| where harness == "GitHub Copilot"
| project agentName = tostring(properties.displayName),
agentId = name,
harness,
environmentId = tostring(properties.environmentId),
ownerId = tostring(properties.ownerId),
createdAt = todatetime(properties.createdAt)
| order by harness asc, createdAt desc
पिछले 24 घंटों में बनाए गए आइटम
PowerPlatformResources
| extend properties = parse_json(properties)
| extend createdAt = todatetime(properties.createdAt)
| where createdAt >= ago(24h)
Power Pages क्वेरीज़ (पूर्वावलोकन)
Power Pages क्वेरीज़ संसाधन प्रकार का microsoft.powerpages/sites उपयोग करती हैं. Power Pages इन्वेंट्री केवल वैश्विक व्यवस्थापकों, Power Platform व्यवस्थापकों और Dynamics 365 व्यवस्थापकों के लिए उपलब्ध है.
Power Pages साइट्स की सूची बनाएं
यह क्वेरी Power Pages साइट्स की उनके परिवेश, स्वामी और निर्माण और संशोधन तिथियों के साथ एक टैनेंट-व्यापी सूची लौटाती है.
PowerPlatformResources
| where type =~ "microsoft.powerpages/sites"
| extend properties = parse_json(properties)
| project siteName = tostring(properties.displayName),
siteId = name,
environmentId = tostring(properties.environmentId),
ownerId = tostring(properties.ownerId),
createdOn = todatetime(properties.createdAt),
lastModifiedOn = todatetime(properties.lastModifiedAt)
| order by siteName asc
परिवेश के आधार पर Power Pages साइट्स की गणना करें
यह क्वेरी दिखाती है कि किन परिवेशों में सबसे अधिक Power Pages साइट्स हैं.
PowerPlatformResources
| where type =~ "microsoft.powerpages/sites"
| extend properties = parse_json(properties)
| extend environmentId = tostring(properties.environmentId)
| summarize siteCount = count() by environmentId
| order by siteCount desc
स्वामी द्वारा Power Pages साइट्स की गणना करें
यह क्वेरी स्वामित्व समीक्षाओं और व्यवसाय निरंतरता योजना का समर्थन करने के लिए सबसे बड़ी संख्या में Power Pages साइटों से संबद्ध स्वामियों को दिखाती है.
PowerPlatformResources
| where type =~ "microsoft.powerpages/sites"
| extend properties = parse_json(properties)
| extend ownerId = tostring(properties.ownerId)
| summarize siteCount = count() by ownerId
| order by siteCount desc
अनाम पहुँच सक्षम वाली Power Pages साइट्स
यह क्वेरी उन साइटों को ढूंढती है जिनका इन्वेंट्री मेटाडेटा इंगित करता है कि अनाम एक्सेस की अनुमति है।
PowerPlatformResources
| where type =~ "microsoft.powerpages/sites"
| extend properties = parse_json(properties)
| extend anonymousAccessEnabled = tobool(properties.anonymousAccessAllowed)
| where anonymousAccessEnabled == true
| project siteName = tostring(properties.displayName),
siteId = name,
environmentId = tostring(properties.environmentId),
websiteUrl = tostring(properties.siteUrl)
| order by siteName asc
हाल ही में बनाई गई Power Pages साइट्स
यह क्वेरी पिछले 30 दिनों के दौरान बनाई गई साइट्स लौटाती है. आवश्यकतानुसार अंतराल को समायोजित करें।
PowerPlatformResources
| where type =~ "microsoft.powerpages/sites"
| extend properties = parse_json(properties)
| extend createdOn = todatetime(properties.createdAt)
| where createdOn >= ago(30d)
| project siteName = tostring(properties.displayName),
siteId = name,
environmentId = tostring(properties.environmentId),
ownerId = tostring(properties.ownerId),
createdOn
| order by createdOn desc
कस्टम डोमेन का उपयोग करने वाली Power Pages साइट्स
यह क्वेरी उन साइटों को लौटाती है जिनके इन्वेंट्री मेटाडेटा में एक कस्टम साइट URL शामिल होता है.
PowerPlatformResources
| where type =~ "microsoft.powerpages/sites"
| extend properties = parse_json(properties)
| extend customDomain = tostring(properties.customSiteUrl)
| where isnotempty(customDomain)
| project siteName = tostring(properties.displayName),
siteId = name,
environmentId = tostring(properties.environmentId),
websiteUrl = tostring(properties.siteUrl),
customDomain
| order by siteName asc
अन्य Power Platform संसाधनों के साथ Power Pages
यह क्वेरी Power Pages साइट्स सहित Power Platform पर प्रकार और वातावरण के आधार पर संसाधन गणना का सारांश प्रस्तुत करती है. परिवेश ID के बिना रिकॉर्ड को बाहर रखा गया है.
PowerPlatformResources
| extend properties = parse_json(properties)
| extend environmentId = tostring(properties.environmentId)
| where isnotempty(environmentId)
| summarize resourceCount = count() by environmentId, type
| order by environmentId asc, resourceCount desc
कनेक्टर क्वेरी
निम्न क्वेरीज़ कनेक्टर माल द्वारा कवर किए गए संसाधन प्रकारों में कनेक्टर उपयोग का विश्लेषण करती हैं। प्रत्येक क्वेरी कैनवास ऐप्स, मॉडल-संचालित ऐप्स, Copilot प्रबंधित रनटाइम में निर्मित ऐप्स, क्लाउड फ्लो, एजेंट फ्लो, वर्कफ़्लो एजेंट फ़्लो, स्टैंडर्ड हार्नेस या Microsoft Copilot हार्नेस पर Copilot Studio एजेंट, और Microsoft 365 Copilot एजेंट बिल्डर में बनाए गए एजेंटों द्वारा उत्सर्जित सरणी पर काम properties.powerPlatformConnectors करती है। Copilot प्रबंधित रनटाइम में निर्मित ऐप्स उपप्रकार के साथ microsoftApp प्रकार का microsoft.powerapps/apps उपयोग करते हैं। क्वेरी में ऐप बिल्डर ऐप शामिल नहीं हैं, जो एक ही प्रकार का उपयोग करते हैं लेकिन कनेक्टर डेटा का उत्सर्जन नहीं करते हैं।
Power Platform संसाधनों में उपयोग किए जाने वाले शीर्ष कनेक्टर
सबसे विशिष्ट संसाधनों द्वारा उपयोग किए जाने वाले कनेक्टर्स को सूचीबद्ध करता है। यह समझने के लिए उपयोगी है कि कौन से कनेक्टर किरायेदार में अपनाने पर हावी हैं।
PowerPlatformResources
| where type in (
"microsoft.powerapps/canvasapps",
"microsoft.powerapps/modeldrivenapps",
"microsoft.powerapps/apps",
"microsoft.powerautomate/cloudflows",
"microsoft.powerautomate/agentflows",
"microsoft.powerautomate/m365agentflows",
"microsoft.copilotstudio/agents")
| extend properties = parse_json(properties)
| where type != "microsoft.powerapps/apps" or tostring(properties.subType) == "microsoftApp"
| mv-expand connector = properties.powerPlatformConnectors
| extend connectorId = tostring(connector.connectorId)
| where isnotempty(connectorId)
| summarize ResourceCount = dcount(name) by connectorId
| order by ResourceCount desc
| take 10
प्रति संसाधन कनेक्टर गणना का वितरण
दिखाता है कि कितने संसाधन 0, 1, 2 या अधिक कनेक्टर्स का उपयोग करते हैं। जटिलता आउटलेयर को पहचानने के लिए उपयोगी।
PowerPlatformResources
| where type in (
"microsoft.powerapps/canvasapps",
"microsoft.powerapps/modeldrivenapps",
"microsoft.powerapps/apps",
"microsoft.powerautomate/cloudflows",
"microsoft.powerautomate/agentflows",
"microsoft.powerautomate/m365agentflows",
"microsoft.copilotstudio/agents")
| extend properties = parse_json(properties)
| where type != "microsoft.powerapps/apps" or tostring(properties.subType) == "microsoftApp"
| extend connectorCount = array_length(properties.powerPlatformConnectors)
| summarize ResourceCount = count() by toint(connectorCount)
| order by connectorCount asc
किसी विशिष्ट कनेक्टर का उपयोग करने वाले सभी संसाधन ढूँढें
उस कनेक्टर से बदलें shared_sharepointonline जिसे आप खोजना चाहते हैं। यह क्वेरी प्रभाव विश्लेषण के लिए उपयोगी है जब किसी कनेक्टर में कोई ज्ञात समस्या होती है, जिसे बहिष्कृत किया जा रहा है, या नए लाइसेंसिंग की आवश्यकता होती है।
PowerPlatformResources
| where type in (
"microsoft.powerapps/canvasapps",
"microsoft.powerapps/modeldrivenapps",
"microsoft.powerapps/apps",
"microsoft.powerautomate/cloudflows",
"microsoft.powerautomate/agentflows",
"microsoft.powerautomate/m365agentflows",
"microsoft.copilotstudio/agents")
| extend properties = parse_json(properties)
| where type != "microsoft.powerapps/apps" or tostring(properties.subType) == "microsoftApp"
| mv-expand connector = properties.powerPlatformConnectors
| where tostring(connector.connectorId) == "shared_sharepointonline"
| project resourceName = tostring(properties.displayName),
resourceId = name,
resourceType = type,
environmentId = tostring(properties.environmentId),
operationsUsed = connector.operations
पर्यावरण द्वारा कनेक्टर का उपयोग
हर वातावरण में उपयोग किए जाने वाले प्रत्येक कनेक्टर को सूचीबद्ध करता है, जिसमें इसका उपयोग करने वाले अलग-अलग संसाधनों की गणना होती है। यह सूची गोद लेने के पैटर्न को समझने और डीएलपी नीतिगत निर्णयों को सूचित करने के लिए उपयोगी है।
PowerPlatformResources
| where type in (
"microsoft.powerapps/canvasapps",
"microsoft.powerapps/modeldrivenapps",
"microsoft.powerapps/apps",
"microsoft.powerautomate/cloudflows",
"microsoft.powerautomate/agentflows",
"microsoft.powerautomate/m365agentflows",
"microsoft.copilotstudio/agents")
| extend properties = parse_json(properties)
| where type != "microsoft.powerapps/apps" or tostring(properties.subType) == "microsoftApp"
| mv-expand connector = properties.powerPlatformConnectors
| extend connectorId = tostring(connector.connectorId)
| where isnotempty(connectorId)
| extend environmentId = tostring(properties.environmentId)
| summarize ResourceCount = dcount(name) by environmentId, connectorId
| order by environmentId asc, ResourceCount desc