                if (app.graph_api_permissions && app.graph_api_permissions.length > 0) {
                    const permissionsContainer = document.createElement("div");
                    permissionsContainer.className = "grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-2 bg-gray-700 p-3 rounded-lg"; 


                    app.graph_api_permissions.forEach(permission => {
                        if (permission.trim().toLowerCase() !== "[none]") { // Exclude "[None]"
                            const perm