Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies To: Project Operations Integrated with ERP, Project Operations Core, Project for the web
Dynamics 365 Project Operations uses the Task grid as a hosted iframe within Microsoft Dataverse. Because of this architecture, you need to meet specific requirements to ensure authentication and authorization work correctly. This article outlines common issues that can affect your ability to render the grid or manage tasks in the work breakdown structure (WBS).
Common problems include:
- When you open the project, the project doesn't load and the user interface (UI) is stuck on the spinner.
- Administration of privileges for Project for the Web.
- Changes aren't saved when you create, update, or delete a task.
Issue: The project doesn't load and the UI is stuck on the spinner
For authentication, you must enable pop-ups for the Task grid to load. If you don't enable pop-ups, the screen is stuck on the loading spinner. The following graphic shows the URL with a blocked pop-up label in the address bar, which results in the spinner getting stuck trying to load the page.
Mitigation 1: Enable pop-ups
When your project is stuck on the spinner, it's possible that pop-ups aren't enabled.
Microsoft Edge
Enable pop-ups in your Edge browser by using one of the following methods.
In your Edge browser, select the notification in the upper-right of the browser.
Select Always allow popups and redirects from the specific Dataverse environment.
Alternatively, complete the following steps.
- Open your Edge browser.
- In the upper-right corner, select the ellipsis (...), and then select Settings > Site permissions > Pop-ups and redirects.
- Toggle Pop-ups and redirects off to block pop-ups, or toggle on to allow pop-ups on your device.
- After you enable pop-ups, refresh your browser.
Google Chrome
- Open your Chrome browser.
- Navigate to a page where pop-ups are blocked.
- In the address bar, select Pop-up blocked.
- Select the link for the pop-up you want to see.
- After you enable pop-ups, refresh your browser.
Note
To always see pop-ups for the site, select Always allow pop-ups and redirects from [site] and then select Done.
Issue 3: Administration of privileges for Project for the Web
Project Operations relies on an external scheduling service. The service requires that a user have several roles assigned that allow them to read and write to entities related to the WBS. These entities include project tasks, resource assignments, and task dependencies. If a user can't render the WBS when they go to the Tasks tab, it's probably because Project for Project Operations isn't enabled. A user might receive either a security role error, or an error related to a denial of access.
Mitigation 1: Validate the application user and end-user security roles
Go to Setting > Security > Users > Application Users.
Double-click the application user record to verify:
- The user has access to the project. You can check this by verifying that the user has the Project Manager security role.
- The Microsoft Project application user exists and is configured correctly.
If this user doesn't exist, create a new user record.
Select New Users, change the entry form to Application User, and then add the Application ID.
Issue 4: Changes aren't saved when you create, update, or delete a task
When you make one or more updates to the WBS, the changes fail and aren't saved. An error occurs in the schedule grid with a message that says, "Recent change you made couldn't be saved."
Mitigation 1: Validate the license assignment
- Verify that the user is assigned the correct license and that the service is enabled in the service plans details of the license.
- Verify that the user can open project.microsoft.com.
Mitigation 2: Validate configuration of the Project application user
- Verify that you create the Project application user.
- Apply the following security roles to the user:
- Dataverse User or Base User
- Project Operations System
- Project System
- Project Operations Dual-write System. This role is required for the Project Operations Integrated with ERP based deployment scenario of Project Operations.
Issue 5: Permission error while updating a project
While working on a project, an issue might occur. The PSS Error Log displays a message indicating a permission access problem for a user when saving a record. This error can occur during actions like Project Copy, Project Convert, Project Import, or while working on the Task Grid, and so on.
Mitigation 1: Update the user's permissions for the specific entity
In most cases, the error suggests that the user lacks the necessary permissions to perform specific operations, such as read or write, on an entity record.
- First, examine the error message to identify the entity name and user name. If the error displays only the user ID, get the username by using this web API: <orgurl>/api/data/v9.2/systemusers(<Principal/User Id from the error message>)?$select=fullname,firstname,lastname,domainname,internalemailaddress,windowsliveid
- If the username is either "Microsoft Project" or "Microsoft Portfolios," it indicates a permission problem with the Project Operations app user. This user is a built-in user for the integration between Project Online and the customer's organization.
If the user is the built-in app user:
- Make sure the built-in app user is assigned all out-of-the-box (OOB) roles. For more information, see Validation Configuration of the Project Application User. With each update of Project Operations, security roles are reassigned to this user automatically. However, problems can occur if you manually remove the roles from this app user.
- If the app user already has all the OOB roles, check any customer plugins that might be triggering operations on extra entities. You might need to change the customer or partner plugin or add extra roles and privileges to the app user.
If the user is a normal user:
- Check the customization or plugin responsible for triggering the CRUD operations on the entity, operating under the user context. You can either use the system service in your plugin or assign more roles and privileges to the user.