הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
השאילתות לדוגמה הבאות פועלות מול הטבלה PowerPlatformResources ב- Azure Resource Graph. הם מכסים ספירה והפצה של משאבים, גילוי שדות, בדיקות מידע של משאבים וניתוח שימוש במחברים. לקבלת מבט כולל על מלאי Power Platform, ראה מלאי של Power Platform. לחומר עיון עבור שדות וסכימה, ראה הפניה לסכימת המלאי של Power Platform.
כיצד להפעיל שאילתות אלה
באפשרותך להפעיל כל אחת מהשאילתות האלה מממשקי Azure Resource Graph. לקבלת הוראות מפורטות, עיין במדריכי התחלה מהירה הבאים:
- הפעלת שאילתת Resource Graph באמצעות פורטל Azure
- הפעל שאילתת Resource Graph באמצעות Azure CLI
- הפעל שאילתת Resource Graph באמצעות Azure PowerShell
- הפעלת שאילתת Azure Resource Graph באמצעות REST API
ספירות והפצה
הספירה הכוללת של כל המשאבים
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]"
עצה
באפשרותך למצוא את מזהה הסוכן בכתובת ה- URL של Studio Copilot בעת הצגת הסוכן, או בעמודה שם של טבלת המלאי.
פריטים שנוצרו ב- 24 השעות האחרונות
PowerPlatformResources
| extend properties = parse_json(properties)
| extend createdAt = todatetime(properties.createdAt)
| where createdAt >= ago(24h)
שאילתות מחבר (תצוגה מקדימה)
השאילתות הבאות מנתחות את השימוש במחברים בסוגי המשאבים המכוסים על-ידי מלאי מחברים (תצוגה מקדימה). כל שאילתה פועלת על מערך properties.powerPlatformConnectors הנפלט על-ידי יישומי בד ציור, יישומים מונחי-דגמים, זרימות ענן, זרימות סוכן, זרימות סוכן של זרימת עבודה וסוכני Copilot Studio.
מחברים מובילים שנמצאים בשימוש במשאבי Power Platform
פירוט המחברים המשמשים את המשאבים הייחודיים ביותר. שימושי להבנת אילו מחברים מובילים באימוץ בכל הדייר.
PowerPlatformResources
| where type in (
"microsoft.powerapps/canvasapps",
"microsoft.powerapps/modeldrivenapps",
"microsoft.powerautomate/cloudflows",
"microsoft.powerautomate/agentflows",
"microsoft.powerautomate/m365agentflows",
"microsoft.copilotstudio/agents")
| extend properties = parse_json(properties)
| 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.powerautomate/cloudflows",
"microsoft.powerautomate/agentflows",
"microsoft.powerautomate/m365agentflows",
"microsoft.copilotstudio/agents")
| extend properties = parse_json(properties)
| 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.powerautomate/cloudflows",
"microsoft.powerautomate/agentflows",
"microsoft.powerautomate/m365agentflows",
"microsoft.copilotstudio/agents")
| extend properties = parse_json(properties)
| 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
שימוש במחברים לפי סביבה
פירוט כל מחבר המשמש בכל סביבה, עם ספירת המשאבים הייחודיים המשתמשים בו. רשימה זו שימושית להבנת דפוסי הטמעה ולתיידע את החלטות מדיניות DLP.
PowerPlatformResources
| where type in (
"microsoft.powerapps/canvasapps",
"microsoft.powerapps/modeldrivenapps",
"microsoft.powerautomate/cloudflows",
"microsoft.powerautomate/agentflows",
"microsoft.powerautomate/m365agentflows",
"microsoft.copilotstudio/agents")
| extend properties = parse_json(properties)
| 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