pnp / sp-dev-site-scripts

Repository for sample SharePoint site designs and site scripts
https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview
MIT License
160 stars 68 forks source link

"creatorEmail " field in power automate called from site script gives wrong data. #37

Open mitul1986 opened 4 years ago

mitul1986 commented 4 years ago

Category

Expected or Desired Behavior

In Site inventory created from below mentioned tutorial should have creator name while the site members group name started appearing in place of owner.

image

URL: https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-trigger-flow-tutorial

Observed Behavior

creatorEmail should have owner email in place of office365 members group name.

Steps to Reproduce

Please follow the tutorial and call Power Automate from a site script.Used Schema

{ "type": "object", "properties": { "webUrl": { "type": "string" }, "parameters": { "type": "object", "properties": { "event": { "type": "string" }, "product": { "type": "string" } } }, "webDescription": { "type": "string" }, "creatorName": { "type": "string" }, "creatorEmail": { "type": "string" }, "createdTimeUTC": { "type": "string" } } }

URL: https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-trigger-flow-tutorial