Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue parsing {Parameter: Company} due to lookup Tenant ID? #30

Open
Coligor opened this issue Dec 6, 2021 · 0 comments
Open

Issue parsing {Parameter: Company} due to lookup Tenant ID? #30

Coligor opened this issue Dec 6, 2021 · 0 comments

Comments

@Coligor
Copy link

Coligor commented Dec 6, 2021

There's a small issue in the UI.
On the homepage under Site Scripts in the left navigation, my installed solution (literally) shows: {parameter: Company} TeamSite
under SiteDesigns it does work, it shows MyTenantName Team Site

Also when installing the .pnp template I get an error when this line is being parsed:
<pnp:RoleAssignment Principal="c:0-.f|rolemanager|spo-grid-all-users/{parameter:TenantId}" RoleDefinition="Read" />

When executing the script I get the error that the Principal (c:0-.f|rolemanager|spo-grid-all-users{my tenant Guid}) is not found. Google gives me an issue reported back in 2018 that in older tenants (like mine), sometimes this does not work. This however is the group Everyone except External users. I gave that group read manually to the site.

However.. it seems to me that in the solution code somewhere this lookup (Tenant ID->Tenant Name?) is not working also, or not being parsed.

@Coligor Coligor changed the title Issue parsing {oarameter: Company} due to lookup Tenant ID? Issue parsing {Parameter: Company} due to lookup Tenant ID? Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant