Hi Ahmed Rizwan Khan,
By default, IIS requires administrative rights to manage server-wide settings and existing sites because these operations modify protected configuration files like applicationHost.config
. While you've successfully allowed the user to create new sites, managing existing ones typically requires elevated access.
IIS provides a built-in way to delegate site-level management using IIS Manager Users and Feature Delegation. This allows non-admin users to manage specific sites and features without full admin rights.
1.Enable IIS Manager Users:
- In IIS Manager, go to Management > IIS Manager Permissions.
- Add a new IIS Manager User (these are IIS-specific, not Windows accounts).
2.Delegate Features:
- Go to Feature Delegation at the server level.
- Set desired features (e.g., Authentication, Default Document) to Read/Write.
3.Assign Site Permissions:
- Select the site you want the user to manage.
- Open IIS Manager Permissions and add the user.
Reference:
Let me know if you need help!