ESP8266 microSD card wiring [SOLVED]

I have the following issue, I try to connect an sd card reader module on an esp8266 and it fails to initialize. My setup is as follows

Pins
D0 - sd module CS
D1 - MCP23017 SCL
D2 - MCP23071 SDA
D3 - TFT LCD DC
D4 - TFT LCD RST
D5 - TFT LCD CLK & Sd card MISO
D6 - SD CARD CLK
D7 - TFT LCD DIN & Sd card MOSI
D8 - TFT LCD CS

I power the module from ESP8266 3V pin and ground. Is that setup correct or I do need to change the wiring or power the module from a separate 3v supply?

This is the module I am trying to connect to this ESP.
ESP8266, MCP23017 and TFT LCD display are powered by a 5V 10A transformer and not from the USB drive.

The SD card is different, but this might help

Nick_Pyner:
The SD card is different, but this might help
Log Sensor data to an SD card using ESP8266 - YouTube

This is just about the program setup. Managed to solve my problem and it wasn't about the wiring of the module. The problem was that I formated the SD card on my mac using sd card formatter app. Tried with a windows pc and now everything works well!