You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some site collections that have site collection level app catalog(mysite/appcatalog not apps/appcatalog) and I want to deploy using pnp action, but Office 365 CLI only allows tenant admins to deploy.
Please allow site collection admins to deploy to the site that he owns.
The text was updated successfully, but these errors were encountered:
@AshikPaul42, have you tried to deploy to a site collection app catalog when you are logged in with your site collection admin account? Can you share the error you are getting?
I have attached a screenshot of the issue. The comment says only tenant admin can log in or only if consent is issued.
My situation is I have no way to contact the admin team and grant me consent or access to the tenant admin portal.
So I found another way to do the same by using a PowerShell module.
Very useful action but I hope it will allow non-tenant admins to deploy an app to sitecollection level scope sites.
@AshikPaul42 thank you very much for your response.
Yes, you are correct. It is not possible to login to the CLI without approved Azure AD app. Currently PowerShell can workaround that using old Azure Access Control (ACS) Authentication with AppOnlyAccessToken.
Unfortunately, the Azure Access Control (ACS) is considered by the CLI maintainers as legacy and we do not expect Microsoft to support it in long term so we have not implemented it in the CLI.
I have some site collections that have site collection level app catalog(mysite/appcatalog not apps/appcatalog) and I want to deploy using pnp action, but Office 365 CLI only allows tenant admins to deploy.
Please allow site collection admins to deploy to the site that he owns.
The text was updated successfully, but these errors were encountered: